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
@@ -0,0 +1,62 @@
ThreeIsland_DunsparceTunnel_MapScripts:: @ 8164D26
map_script 3, ThreeIsland_DunsparceTunnel_MapScript1_164D2C
.byte 0
ThreeIsland_DunsparceTunnel_MapScript1_164D2C:: @ 8164D2C
setworldmapflag 2240
specialvar VAR_RESULT, sub_806E25C
copyvar VAR_0x8008, VAR_RESULT
compare_var_to_value VAR_0x8008, 1
call_if 1, EventScript_164D50
compare_var_to_value VAR_0x8008, 0
call_if 1, EventScript_164D54
end
EventScript_164D50:: @ 8164D50
setmaplayoutindex LAYOUT_UNUSEDLAYOUT_83453C0
return
EventScript_164D54:: @ 8164D54
setobjectxyperm 1, 6, 3
setobjectmovementtype 1, 10
return
ThreeIsland_DunsparceTunnel_EventScript_164D60:: @ 8164D60
lock
faceplayer
checkflag FLAG_0x2E2
goto_if 1, EventScript_164DC2
specialvar VAR_RESULT, sub_806E25C
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_164D90
loadword 0, gUnknown_817D13B
callstd 4
closemessage
applymovement 1, Movement_1A75E5
waitmovement 0
release
end
EventScript_164D90:: @ 8164D90
loadword 0, gUnknown_817D1C9
callstd 4
setorcopyvar VAR_0x8000, 110
setorcopyvar VAR_0x8001, 1
callstd 0
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_164DB8
setflag FLAG_0x2E2
goto EventScript_164DC2
end
EventScript_164DB8:: @ 8164DB8
loadword 0, gUnknown_817D2DC
callstd 4
release
end
EventScript_164DC2:: @ 8164DC2
loadword 0, gUnknown_817D28C
callstd 4
release
end