mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-15 05:36:22 -05:00
107 lines
2.7 KiB
ArmAsm
107 lines
2.7 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/oreburgh_mine_b2f.h"
|
|
#include "res/field/events/events_oreburgh_mine_b2f.h"
|
|
|
|
|
|
ScriptEntry OreburghMineB2F_Roark
|
|
ScriptEntry OreburghMineB2F_Machop1
|
|
ScriptEntry OreburghMineB2F_Machop3
|
|
ScriptEntry OreburghMineB2F_Machop2
|
|
ScriptEntry OreburghMineB2F_Worker
|
|
ScriptEntryEnd
|
|
|
|
OreburghMineB2F_Roark:
|
|
PlaySE SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoTo OreburghMineB2F_RoarkTurnBackEast
|
|
|
|
OreburghMineB2F_Unused:
|
|
ApplyMovement LOCALID_ROARK, OreburghMineB2F_Movement_Unused2
|
|
WaitMovement
|
|
GoTo OreburghMineB2F_RoarkUseRockSmash
|
|
|
|
OreburghMineB2F_RoarkTurnBackEast:
|
|
ApplyMovement LOCALID_ROARK, OreburghMineB2F_Movement_RoarkTurnBackEast
|
|
WaitMovement
|
|
GoTo OreburghMineB2F_RoarkUseRockSmash
|
|
|
|
OreburghMineB2F_RoarkUseRockSmash:
|
|
Message OreburghMineB2F_Text_StandBackAndWatch
|
|
CloseMessage
|
|
StartDestroyObstacleAnimation 2, VAR_0x8005
|
|
WaitTime 10, VAR_RESULT
|
|
RemoveObject LOCALID_ROCK_SMASH_1
|
|
OreburghMineB2F_WaitRockSmash:
|
|
WaitTime 1, VAR_RESULT
|
|
GoToIfEq VAR_0x8005, 0, OreburghMineB2F_WaitRockSmash
|
|
FacePlayer
|
|
Message OreburghMineB2F_Text_BouldersNeedToBeSmashed
|
|
CloseMessage
|
|
GoTo OreburghMineB2F_RoarkLeave
|
|
|
|
OreburghMineB2F_Unused2:
|
|
ApplyMovement LOCALID_ROARK, OreburghMineB2F_Movement_Unused
|
|
ApplyMovement LOCALID_PLAYER, OreburghMineB2F_Movement_Unused3
|
|
WaitMovement
|
|
GoTo OreburghMineB2F_RemoveRoark
|
|
|
|
OreburghMineB2F_RoarkLeave:
|
|
ApplyMovement LOCALID_ROARK, OreburghMineB2F_Movement_RoarkLeave
|
|
WaitMovement
|
|
GoTo OreburghMineB2F_RemoveRoark
|
|
|
|
OreburghMineB2F_RemoveRoark:
|
|
RemoveObject LOCALID_ROARK
|
|
SetFlag FLAG_ROARK_RETURNED_TO_OREBURGH_GYM
|
|
SetFlag FLAG_HIDE_OREBURGH_CITY_RIVAL
|
|
ReleaseAll
|
|
End
|
|
|
|
.balign 4, 0
|
|
OreburghMineB2F_Movement_Unused:
|
|
WalkNormalNorth
|
|
WalkNormalEast 10
|
|
EndMovement
|
|
|
|
.balign 4, 0
|
|
OreburghMineB2F_Movement_RoarkLeave:
|
|
WalkNormalEast 10
|
|
EndMovement
|
|
|
|
OreburghMineB2F_Movement_Unused2:
|
|
Delay8 2
|
|
WalkOnSpotNormalNorth
|
|
Delay8 4
|
|
EndMovement
|
|
|
|
.balign 4, 0
|
|
OreburghMineB2F_Movement_RoarkTurnBackEast:
|
|
Delay8 2
|
|
WalkOnSpotNormalEast
|
|
Delay8 4
|
|
EndMovement
|
|
|
|
OreburghMineB2F_Movement_Unused3:
|
|
Delay8
|
|
WalkOnSpotNormalNorth
|
|
Delay8 2
|
|
WalkOnSpotNormalEast
|
|
EndMovement
|
|
|
|
OreburghMineB2F_Machop1:
|
|
PokemonCryAndMessage SPECIES_MACHOP, OreburghMineB2F_Text_MachopCryMaaacho
|
|
End
|
|
|
|
OreburghMineB2F_Machop3:
|
|
PokemonCryAndMessage SPECIES_MACHOP, OreburghMineB2F_Text_MachopCryChopChop
|
|
End
|
|
|
|
OreburghMineB2F_Machop2:
|
|
PokemonCryAndMessage SPECIES_MACHOP, OreburghMineB2F_Text_MachopCryChopmacho
|
|
End
|
|
|
|
OreburghMineB2F_Worker:
|
|
NPCMessage OreburghMineB2F_Text_IMetMachopOnRoute207
|
|
End
|