mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-14 13:11:45 -05:00
57 lines
1.4 KiB
ArmAsm
57 lines
1.4 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/route_208.h"
|
|
|
|
|
|
ScriptEntry Route208_ArrowSignpostMtCoronet
|
|
ScriptEntry Route208_ArrowSignpostHearthomeCity
|
|
ScriptEntry Route208_SignboardBerryMastersHouse
|
|
ScriptEntry Route208_BlackBelt
|
|
ScriptEntry Route208_TrainerTipsSignpost
|
|
ScriptEntryEnd
|
|
|
|
Route208_ArrowSignpostMtCoronet:
|
|
ShowArrowSign Route208_Text_SignMtCoronet
|
|
End
|
|
|
|
Route208_ArrowSignpostHearthomeCity:
|
|
ShowArrowSign Route208_Text_SignHearthomeCity
|
|
End
|
|
|
|
Route208_SignboardBerryMastersHouse:
|
|
ShowLandmarkSign Route208_Text_SignBerryMastersHouse
|
|
End
|
|
|
|
Route208_TrainerTipsSignpost:
|
|
ShowScrollingSign Route208_Text_TrainerTipsWatchBerrySoilColor
|
|
End
|
|
|
|
Route208_BlackBelt:
|
|
PlaySE SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet FLAG_RECEIVED_ROUTE_208_ODD_KEYSTONE, Route208_GoToRoute209
|
|
Message Route208_Text_JustTakeIt
|
|
SetVar VAR_0x8004, ITEM_ODD_KEYSTONE
|
|
SetVar VAR_0x8005, 1
|
|
GoToIfCannotFitItem VAR_0x8004, VAR_0x8005, VAR_RESULT, Route208_BagIsFull
|
|
SetFlag FLAG_RECEIVED_ROUTE_208_ODD_KEYSTONE
|
|
Common_GiveItemQuantityNoLineFeed
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
Route208_GoToRoute209:
|
|
Message Route208_Text_GoToRoute209
|
|
WaitButton
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
Route208_BagIsFull:
|
|
Common_MessageBagIsFull
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
.balign 4, 0
|