dump event scripts

This commit is contained in:
garak
2019-05-06 22:13:57 -04:00
parent c6673cc8fe
commit 4e5d818f89
432 changed files with 36027 additions and 4239 deletions
+103
View File
@@ -0,0 +1,103 @@
SeafoamIslands_B3F_MapScripts:: @ 8162F4F
map_script 3, SeafoamIslands_B3F_MapScript1_162F5A
map_script 2, SeafoamIslands_B3F_MapScript2_162F98
.byte 0
SeafoamIslands_B3F_MapScript1_162F5A:: @ 8162F5A
checkflag FLAG_0x2D2
call_if 0, EventScript_162F6D
checkflag FLAG_0x2D2
call_if 1, EventScript_162F94
end
EventScript_162F6D:: @ 8162F6D
setvar VAR_0x4002, 0
checkflag FLAG_0x046
call_if 0, EventScript_162FF0
checkflag FLAG_0x047
call_if 0, EventScript_162FF0
compare_var_to_value VAR_0x4002, 2
call_if 1, EventScript_162F90
return
EventScript_162F90:: @ 8162F90
setflag FLAG_0x2D2
return
EventScript_162F94:: @ 8162F94
setmaplayoutindex LAYOUT_UNUSEDLAYOUT_833B6EC
return
SeafoamIslands_B3F_MapScript2_162F98:: @ 8162F98
map_script_2 VAR_0x4001, 1, EventScript_162FA2
.2byte 0
EventScript_162FA2:: @ 8162FA2
lockall
setvar VAR_0x4002, 0
checkflag FLAG_0x046
call_if 0, EventScript_162FF0
checkflag FLAG_0x047
call_if 0, EventScript_162FF0
compare_var_to_value VAR_0x4002, 2
goto_if 1, EventScript_16300C
getplayerxy VAR_0x8008, VAR_0x8009
compare_var_to_value VAR_0x8008, 24
call_if 0, EventScript_162FF6
compare_var_to_value VAR_0x8008, 24
call_if 4, EventScript_163001
setvar VAR_0x4063, 1
warp MAP_SEAFOAMISLANDS_B4F, 255, 27, 21
waitstate
releaseall
end
EventScript_162FF0:: @ 8162FF0
addvar VAR_0x4002, 1
return
EventScript_162FF6:: @ 8162FF6
applymovement 255, Movement_163013
waitmovement 0
return
EventScript_163001:: @ 8163001
applymovement 255, Movement_163021
waitmovement 0
return
EventScript_16300C:: @ 816300C
setvar VAR_0x4001, 0
releaseall
end
Movement_163013:: @ 8163013
step_1d
step_1d
step_1d
step_1d
step_20
step_20
step_20
step_1d
step_1d
step_1d
step_1d
step_1d
step_1d
step_end
Movement_163021:: @ 8163021
step_1d
step_1d
step_1d
step_1d
step_20
step_20
step_1d
step_1d
step_1d
step_1d
step_1d
step_1d
step_end