diff options
author | Swastik Baranwal <swstkbaranwal@gmail.com> | 2019-06-23 18:47:35 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-23 18:47:35 +0530 |
commit | 99703c6ab831d34e6859d8a8f53ba8e73dc4d3d9 (patch) | |
tree | 3a712d3039d152616af58a45a13d82c40a87e58f /data/maps/SSAnne_Exterior/scripts.inc | |
parent | 6d190f861e3559eec922cd760778c0cba6e08397 (diff) | |
parent | 9ee0c34758a63f8c00724b6fc984b4e96be2f7af (diff) |
Merge pull request #5 from pret/master
Take files
Diffstat (limited to 'data/maps/SSAnne_Exterior/scripts.inc')
-rw-r--r-- | data/maps/SSAnne_Exterior/scripts.inc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/data/maps/SSAnne_Exterior/scripts.inc b/data/maps/SSAnne_Exterior/scripts.inc new file mode 100644 index 000000000..b0112c459 --- /dev/null +++ b/data/maps/SSAnne_Exterior/scripts.inc @@ -0,0 +1,67 @@ +SSAnne_Exterior_MapScripts:: @ 8160840 + map_script 3, SSAnne_Exterior_MapScript1_16084B + map_script 2, SSAnne_Exterior_MapScript2_16084F + .byte 0 + +SSAnne_Exterior_MapScript1_16084B:: @ 816084B + setworldmapflag FLAG_WORLD_MAP_SSANNE_EXTERIOR + end + +SSAnne_Exterior_MapScript2_16084F:: @ 816084F + map_script_2 VAR_MAP_SCENE_VERMILION_CITY, 1, SSAnne_Exterior_160859 + .2byte 0 + +SSAnne_Exterior_160859:: @ 8160859 + lockall + getplayerxy VAR_0x8004, VAR_0x8005 + compare_var_to_value VAR_0x8005, 6 + call_if 3, EventScript_1608A1 + compare_var_to_value VAR_0x8005, 7 + call_if 4, EventScript_1608AC + fadenewbgm BGM_FRLG_SURF + delay 50 + special Special_SSAnneDepartureCutscene + waitstate + removeobject 1 + applymovement 255, Movement_1608B7 + waitmovement 0 + setvar VAR_MAP_SCENE_VERMILION_CITY, 2 + setvar VAR_VERMILION_CITY_TICKET_CHECK_TRIGGER, 0 + warp MAP_VERMILION_CITY, 255, 23, 34 + waitstate + releaseall + end + +EventScript_1608A1:: @ 81608A1 + applymovement 255, Movement_1608C1 + waitmovement 0 + return + +EventScript_1608AC:: @ 81608AC + applymovement 255, Movement_1A75ED + waitmovement 0 + return + +Movement_1608B7:: @ 81608B7 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_end + +Movement_1608C1:: @ 81608C1 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_end |