Sync some event_scripts.s, split files

This commit is contained in:
GriffinR
2020-01-08 21:05:04 -05:00
parent 2e5bf6c9ef
commit 7eb5464860
52 changed files with 5901 additions and 5880 deletions
+25
View File
@@ -0,0 +1,25 @@
EventScript_UseSurf:: @ 81A6AC8
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_UseSurfEnd
checkpartymove MOVE_SURF
compare VAR_RESULT, PARTY_SIZE
goto_if eq, EventScript_UseSurfEnd
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
lockall
msgbox Text_1A556E, 5
compare VAR_RESULT, 0
goto_if eq, EventScript_UseSurfRelease
msgbox Text_1A55A5
dofieldeffect FLDEFF_USE_SURF
EventScript_UseSurfRelease:@ 81A6B0B
releaseall
EventScript_UseSurfEnd: @ 81A6B0C
end
gUnknown_81A6B0D:: @ 81A6B0D
lockall
msgbox Text_CurrentTooFast
releaseall
end