mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 08:41:27 -05:00
36 lines
663 B
ArmAsm
36 lines
663 B
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/route_217_northeast_house.h"
|
|
|
|
|
|
ScriptEntry _0006
|
|
ScriptEntryEnd
|
|
|
|
_0006:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet FLAG_UNK_0x013B, _0059
|
|
Message 0
|
|
SetVar VAR_0x8004, ITEM_SPELL_TAG
|
|
SetVar VAR_0x8005, 1
|
|
GoToIfCannotFitItem VAR_0x8004, VAR_0x8005, VAR_RESULT, _004F
|
|
SetFlag FLAG_UNK_0x013B
|
|
SetFlag FLAG_UNK_0x025F
|
|
Common_GiveItemQuantityNoLineFeed
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_004F:
|
|
Common_MessageBagIsFull
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0059:
|
|
Message 1
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|