pokeplatinum/res/field/scripts/scripts_eterna_forest_outside.s
Viperio cae54c6ca1
Some checks are pending
build / build (push) Waiting to run
Document eterna forest and old chateau scripts (#998)
2026-03-11 08:43:22 -07:00

44 lines
1.3 KiB
ArmAsm

#include "macros/scrcmd.inc"
#include "res/text/bank/eterna_forest_outside.h"
ScriptEntry EternaForestOutside_OnTransition
ScriptEntry EternaForestOutside_Unused2
ScriptEntry EternaForestOutside_Unused3
ScriptEntry EternaForestOutside_PokemonBreederF
ScriptEntryEnd
EternaForestOutside_OnTransition:
SetFlag FLAG_FIRST_ARRIVAL_ETERNA_FOREST
End
EternaForestOutside_PokemonBreederF:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
GoToIfSet FLAG_OBTAINED_ETERNA_FOREST_OUTSIDE_ACCESSORY_BIG_TREE, EternaForestOutside_ICollectBerriesAndTradeThemForAccessoriesInFloaromaTown
SetVar VAR_0x8004, ACCESSORY_BIG_TREE
BufferAccessoryName 0, VAR_0x8004
Message EternaForestOutside_Text_OhAreYouCollectingAccessoriesIveGotSomethingForYou
SetVar VAR_0x8005, 1
Common_GiveAccessoryWaitForConfirm
SetFlag FLAG_OBTAINED_ETERNA_FOREST_OUTSIDE_ACCESSORY_BIG_TREE
CloseMessage
ReleaseAll
End
EternaForestOutside_ICollectBerriesAndTradeThemForAccessoriesInFloaromaTown:
Message EternaForestOutside_Text_ICollectBerriesAndTradeThemForAccessoriesInFloaromaTown
WaitABXPadPress
CloseMessage
ReleaseAll
End
EternaForestOutside_Unused2:
ShowLandmarkSign EternaForestOutside_Text_Dummy2
End
EternaForestOutside_Unused3:
ShowScrollingSign EternaForestOutside_Text_Dummy3
End