Port generic event script macros from pokeruby

This commit is contained in:
Marcus Huderle committed 2017-12-21 13:47:52 -06:00
1 parent 4307292f55
commit 173761a5a1
266 files changed
+3054 -3041

No files matched your search

+4 -4
View File
@@ -14,7 +14,7 @@ EventScript_2A4B5D:: @ 82A4B5D
EventScript_2A4B6F:: @ 82A4B6F
lockall
msgbox Text_2A4BF4, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EventScript_2A4B85
releaseall
end
@@ -43,10 +43,10 @@ EventScript_2A4B9B:: @ 82A4B9B
EventScript_2A4BAC:: @ 82A4BAC
lockall
special GetPokeblockFeederInFront
compare_var_to_value VAR_RESULT, 65535
compare VAR_RESULT, 65535
goto_if 5, EventScript_2A4BEB
msgbox Text_2A4C90, 5
compare_var_to_value VAR_RESULT, 1
compare VAR_RESULT, 1
goto_eq EventScript_2A4BD0
releaseall
end
@@ -55,7 +55,7 @@ EventScript_2A4BD0:: @ 82A4BD0
fadescreen 1
special sub_8135908
waitstate
compare_var_to_value VAR_RESULT, 65535
compare VAR_RESULT, 65535
goto_if 5, EventScript_2A4BE2
end