pokeplatinum/res/field/scripts/scripts_distortion_world_1f.s
Eduardo Quezada 4dc33aeff4
Some checks are pending
build / build (push) Waiting to run
Document multiple map scripts commands (#469)
* CheckPartyHasFatefulEncounterRegigigas

* SetPartyGiratinaForm

* WaitCry

* GetUnownFormsSeenCount

* CheckPartyCombeeGenderCount

* GetHour

* Review changes
2025-04-12 12:30:17 -07:00

177 lines
2.8 KiB
ArmAsm

#include "macros/scrcmd.inc"
#include "res/text/bank/distortion_world_1f.h"
.data
ScriptEntry _0016
ScriptEntry _001A
ScriptEntry _0070
ScriptEntry _011D
ScriptEntry _012A
ScriptEntryEnd
_0016:
InitPersistedMapFeaturesForDistortionWorld
End
_001A:
PlayFanfare SEQ_SE_CONFIRM
LockAll
Message 7
ShowYesNoMenu 0x800C
GoToIfEq 0x800C, MENU_YES, _003A
CloseMessage
ReleaseAll
End
_003A:
BufferPlayerName 0
Message 8
CloseMessage
PlayFanfare SEQ_SE_PL_SYUWA
SetPartyGiratinaForm GIRATINA_FORM_ALTERED
FadeScreen 6, 1, 0, 0
WaitFadeScreen
Warp MAP_HEADER_SPEAR_PILLAR_DISTORTED, 0, 31, 33, 1
FadeScreen 6, 1, 1, 0
WaitFadeScreen
End
_0070:
LockAll
ApplyMovement LOCALID_PLAYER, _0140
WaitMovement
ApplyMovement LOCALID_PLAYER, _014C
WaitMovement
ScrCmd_311 128
ApplyMovement 128, _017C
WaitMovement
Message 0
ScrCmd_035
ApplyMovement 128, _0198
WaitMovement
Message 1
ScrCmd_035
ApplyMovement 128, _01A4
WaitMovement
Message 2
CloseMessage
ApplyMovement LOCALID_PLAYER, _0154
ApplyMovement 128, _01AC
WaitMovement
ScrCmd_321 0
ApplyMovement LOCALID_PLAYER, _0160
ApplyMovement 128, _01B4
WaitMovement
WaitTime 30, 0x800C
ScrCmd_322
Message 3
WaitABXPadPress
CloseMessage
ApplyMovement LOCALID_PLAYER, _0174
ApplyMovement 128, _01C4
WaitMovement
Message 4
CloseMessage
ApplyMovement 128, _01CC
WaitMovement
ScrCmd_312 128
SetVar 0x4055, 1
ReleaseAll
End
_011D:
LockAll
Message 5
WaitABPadPress
CloseMessage
ReleaseAll
End
_012A:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
Message 6
WaitABXPadPress
CloseMessage
ReleaseAll
End
.balign 4, 0
_0140:
MoveAction_014
MoveAction_063
EndMovement
.balign 4, 0
_014C:
MoveAction_035
EndMovement
.balign 4, 0
_0154:
MoveAction_063
MoveAction_033
EndMovement
.balign 4, 0
_0160:
MoveAction_062
MoveAction_002
MoveAction_075
MoveAction_003
EndMovement
.balign 4, 0
_0174:
MoveAction_033
EndMovement
.balign 4, 0
_017C:
MoveAction_033
MoveAction_065 2
MoveAction_035
MoveAction_063
MoveAction_032
MoveAction_063
EndMovement
.balign 4, 0
_0198:
MoveAction_033
MoveAction_063
EndMovement
.balign 4, 0
_01A4:
MoveAction_034
EndMovement
.balign 4, 0
_01AC:
MoveAction_013 2
EndMovement
.balign 4, 0
_01B4:
MoveAction_002
MoveAction_075
MoveAction_003
EndMovement
.balign 4, 0
_01C4:
MoveAction_032
EndMovement
.balign 4, 0
_01CC:
MoveAction_014 3
MoveAction_013 3
MoveAction_014 2
MoveAction_013
MoveAction_014 6
EndMovement