summaryrefslogtreecommitdiff
path: root/data/maps/IndigoPlateau_Exterior/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/IndigoPlateau_Exterior/scripts.inc')
-rw-r--r--data/maps/IndigoPlateau_Exterior/scripts.inc158
1 files changed, 79 insertions, 79 deletions
diff --git a/data/maps/IndigoPlateau_Exterior/scripts.inc b/data/maps/IndigoPlateau_Exterior/scripts.inc
index 01f9f6a62..bc9827037 100644
--- a/data/maps/IndigoPlateau_Exterior/scripts.inc
+++ b/data/maps/IndigoPlateau_Exterior/scripts.inc
@@ -1,19 +1,19 @@
IndigoPlateau_Exterior_MapScripts:: @ 816723B
- map_script 3, IndigoPlateau_Exterior_MapScript1_167246
- map_script 2, IndigoPlateau_Exterior_MapScript2_16725A
+ map_script MAP_SCRIPT_ON_TRANSITION, IndigoPlateau_Exterior_OnTransition
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, IndigoPlateau_Exterior_OnFrame
.byte 0
-IndigoPlateau_Exterior_MapScript1_167246:: @ 8167246
+IndigoPlateau_Exterior_OnTransition:: @ 8167246
setworldmapflag FLAG_WORLD_MAP_INDIGO_PLATEAU_EXTERIOR
- compare_var_to_value VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1
- call_if eq, EventScript_IndigoPlateau_Exterior_PlayCreditsMusic
+ compare VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1
+ call_if_eq EventScript_IndigoPlateau_Exterior_PlayCreditsMusic
end
EventScript_IndigoPlateau_Exterior_PlayCreditsMusic:: @ 8167255
playbgm MUS_ENDING, 0
return
-IndigoPlateau_Exterior_MapScript2_16725A:: @ 816725A
+IndigoPlateau_Exterior_OnFrame:: @ 816725A
map_script_2 VAR_MAP_SCENE_INDIGO_PLATEAU_EXTERIOR, 1, EventScript_IndigoPlateau_Exterior_Credits
.2byte 0
@@ -31,13 +31,13 @@ EventScript_IndigoPlateau_Exterior_Credits:: @ 8167264
special SpawnCameraObject
addobject 1
applymovement 1, Movement_167346
- applymovement 255, Movement_167337
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_167337
waitmovement 0
closedoor 11, 6
waitdooranim
@ Rival runs off
- applymovement 255, Movement_16731B
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_16731B
applymovement 1, Movement_16733E
waitmovement 0
delay 100
@@ -53,23 +53,23 @@ EventScript_IndigoPlateau_Exterior_Credits:: @ 8167264
delay 160
@ Oak looks at player, then walks off
- applymovement 255, Movement_16731F
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_16731F
applymovement 2, Movement_167348
waitmovement 0
delay 100
- applymovement 255, Movement_16732E
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_16732E
waitmovement 0
delay 155
@ Player turns to face the League
- applymovement 255, Movement_16733C
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_16733C
waitmovement 0
delay 90
@ Player runs off
- applymovement 255, Movement_167335
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_167335
waitmovement 0
- applymovement 255, Movement_167311
+ applymovement OBJ_EVENT_ID_PLAYER, Movement_167311
waitmovement 0
@ Reset the map state and roll the credits
@@ -83,103 +83,103 @@ EventScript_IndigoPlateau_Exterior_Credits:: @ 8167264
end
Movement_167311:: @ 8167311
- step_3d
- step_3d
- step_3d
- step_3d
- step_3d
- step_3d
+ player_run_down
+ player_run_down
+ player_run_down
+ player_run_down
+ player_run_down
+ player_run_down
step_end
Movement_167318:: @ 8167318
- step_10
- step_10
+ walk_down
+ walk_down
step_end
Movement_16731B:: @ 816731B
- step_1c
- step_1a
- step_2d
+ delay_16
+ delay_4
+ walk_in_place_fastest_down
step_end
Movement_16731F:: @ 816731F
- step_1b
- step_30
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_2d
+ delay_8
+ walk_in_place_fastest_right
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ walk_in_place_fastest_down
step_end
Movement_16732E:: @ 816732E
- step_13
- step_1c
- step_10
- step_10
- step_1c
- step_1c
+ walk_right
+ delay_16
+ walk_down
+ walk_down
+ delay_16
+ delay_16
step_end
Movement_167335:: @ 8167335
- step_2d
+ walk_in_place_fastest_down
step_end
Movement_167337:: @ 8167337
- step_03
- step_4c
- step_12
- step_4d
+ face_right
+ lock_facing_direction
+ walk_left
+ unlock_facing_direction
step_end
Movement_16733C:: @ 816733C
- step_2e
+ walk_in_place_fastest_up
step_end
Movement_16733E:: @ 816733E
- step_1d
- step_1d
- step_1d
- step_1d
- step_1d
- step_1d
- step_1d
+ walk_fast_down
+ walk_fast_down
+ walk_fast_down
+ walk_fast_down
+ walk_fast_down
+ walk_fast_down
+ walk_fast_down
step_end
Movement_167346:: @ 8167346
- step_1d
+ walk_fast_down
step_end
Movement_167348:: @ 8167348
- step_2f
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_1c
- step_2d
- step_1c
- step_10
- step_10
- step_10
- step_10
- step_10
- step_10
- step_10
+ walk_in_place_fastest_left
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ delay_16
+ walk_in_place_fastest_down
+ delay_16
+ walk_down
+ walk_down
+ walk_down
+ walk_down
+ walk_down
+ walk_down
+ walk_down
step_end
Movement_16735D:: @ 816735D
- step_10
+ walk_down
step_end