mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
35 lines
632 B
ArmAsm
35 lines
632 B
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/eterna_city_condominiums_4f.h"
|
|
|
|
|
|
ScriptEntry _0006
|
|
ScriptEntryEnd
|
|
|
|
_0006:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet FLAG_UNK_0x0076, _004B
|
|
Message 0
|
|
SetVar VAR_0x8004, ITEM_TM04
|
|
SetVar VAR_0x8005, 1
|
|
GoToIfCannotFitItem VAR_0x8004, VAR_0x8005, VAR_RESULT, _0056
|
|
SetFlag FLAG_UNK_0x0076
|
|
Common_GiveItemQuantityNoLineFeed
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_004B:
|
|
Message 1
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0056:
|
|
Common_MessageBagIsFull
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|