Sync compare macros, some event_scripts.s doc, begin map_scripts constants

This commit is contained in:
GriffinR
2020-01-08 18:09:24 -05:00
parent 26f7ba4823
commit 31d31d3260
194 changed files with 1933 additions and 1942 deletions
@@ -26,13 +26,13 @@ Route11_EastEntrance_2F_EventScript_16FD5C:: @ 816FD5C
checkflag FLAG_DID_NINA_TRADE
goto_if TRUE, EventScript_16FDCE
msgbox gUnknown_81A597B, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if eq, EventScript_16FDB6
call EventScript_1A8CBD
compare_var_to_value VAR_0x8004, 6
compare VAR_0x8004, 6
goto_if ge, EventScript_16FDB6
call EventScript_1A8CC9
compare_var_to_var VAR_RESULT, VAR_0x8009
compare VAR_RESULT, VAR_0x8009
goto_if ne, EventScript_16FDC0
call EventScript_1A8CD9
msgbox gUnknown_81A59DA
@@ -63,17 +63,17 @@ Route11_EastEntrance_2F_EventScript_16FDD8:: @ 816FDD8
checkflag FLAG_GOT_ITEMFINDER
goto_if TRUE, EventScript_16FE5A
msgbox gUnknown_819E9E5, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if eq, EventScript_1A7AD1
setvar VAR_0x8004, 0
specialvar VAR_RESULT, Special_GetPokedexCount
getnumberstring 2, VAR_0x8006
call EventScript_16FE64
compare_var_to_value VAR_0x8006, 30
compare VAR_0x8006, 30
goto_if lt, EventScript_1A7ABD
msgbox gUnknown_819EAE4
checkitemspace ITEM_ITEMFINDER, 1
compare_var_to_value VAR_RESULT, 0
compare VAR_RESULT, 0
goto_if eq, EventScript_1A7AC7
additem ITEM_ITEMFINDER, 1
giveitemfanfaremsg gUnknown_819EB37, ITEM_ITEMFINDER