diff options
Diffstat (limited to 'data/scripts/maps/MauvilleCity_GameCorner.inc')
-rw-r--r-- | data/scripts/maps/MauvilleCity_GameCorner.inc | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/data/scripts/maps/MauvilleCity_GameCorner.inc b/data/scripts/maps/MauvilleCity_GameCorner.inc index c75fdafec..6d3e0c317 100644 --- a/data/scripts/maps/MauvilleCity_GameCorner.inc +++ b/data/scripts/maps/MauvilleCity_GameCorner.inc @@ -6,7 +6,7 @@ MauvilleCity_GameCorner_EventScript_20FBB9:: @ 820FBB9 faceplayer msgbox MauvilleCity_GameCorner_Text_210460, 4 checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FCB7 message MauvilleCity_GameCorner_Text_2104DF waitmessage @@ -32,10 +32,10 @@ MauvilleCity_GameCorner_EventScript_20FC0C:: @ 820FC0C MauvilleCity_GameCorner_EventScript_20FC33:: @ 820FC33 checkcoins VAR_0x4001 - compare_var_to_value VAR_0x4001, 9950 + compare VAR_0x4001, 9950 goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1 checkmoney 0x3e8, 0 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FCC1 givecoins 50 takemoney 0x3e8, 0 @@ -53,10 +53,10 @@ MauvilleCity_GameCorner_EventScript_20FC33:: @ 820FC33 MauvilleCity_GameCorner_EventScript_20FC75:: @ 820FC75 checkcoins VAR_0x4001 - compare_var_to_value VAR_0x4001, 9500 + compare VAR_0x4001, 9500 goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1 checkmoney 0x2710, 0 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FCC1 givecoins 500 takemoney 0x2710, 0 @@ -109,7 +109,7 @@ MauvilleCity_GameCorner_EventScript_20FCF1:: @ 820FCF1 faceplayer msgbox MauvilleCity_GameCorner_Text_2105D7, 4 checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 1 + compare VAR_RESULT, 1 goto_eq MauvilleCity_GameCorner_EventScript_20FD0D release end @@ -153,7 +153,7 @@ MauvilleCity_GameCorner_EventScript_20FD83:: @ 820FD83 MauvilleCity_GameCorner_EventScript_20FD91:: @ 820FD91 msgbox MauvilleCity_GameCorner_Text_210705, 5 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FE92 switch VAR_0x4001 case 1, MauvilleCity_GameCorner_EventScript_20FDCB @@ -163,11 +163,11 @@ MauvilleCity_GameCorner_EventScript_20FD91:: @ 820FD91 MauvilleCity_GameCorner_EventScript_20FDCB:: @ 820FDCB checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 1000 + compare VAR_0x4002, 1000 goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79 bufferdecorationname 1, 88 checkdecorspace 88 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FE87 takecoins 1000 givedecoration 88 @@ -179,11 +179,11 @@ MauvilleCity_GameCorner_EventScript_20FDCB:: @ 820FDCB MauvilleCity_GameCorner_EventScript_20FE05:: @ 820FE05 checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 1000 + compare VAR_0x4002, 1000 goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79 bufferdecorationname 1, 89 checkdecorspace 89 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FE87 takecoins 1000 givedecoration 89 @@ -195,11 +195,11 @@ MauvilleCity_GameCorner_EventScript_20FE05:: @ 820FE05 MauvilleCity_GameCorner_EventScript_20FE3F:: @ 820FE3F checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 1000 + compare VAR_0x4002, 1000 goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79 bufferdecorationname 1, 90 checkdecorspace 90 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_20FE87 takecoins 1000 givedecoration 90 @@ -230,7 +230,7 @@ MauvilleCity_GameCorner_EventScript_20FE9F:: @ 820FE9F faceplayer msgbox MauvilleCity_GameCorner_Text_2105D7, 4 checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 1 + compare VAR_RESULT, 1 goto_eq MauvilleCity_GameCorner_EventScript_20FEBB release end @@ -292,7 +292,7 @@ MauvilleCity_GameCorner_EventScript_20FF77:: @ 820FF77 MauvilleCity_GameCorner_EventScript_20FF8A:: @ 820FF8A special sub_81398C0 msgbox MauvilleCity_GameCorner_Text_210629, 5 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210118 switch VAR_0x4001 case 1, MauvilleCity_GameCorner_EventScript_20FFDD @@ -304,10 +304,10 @@ MauvilleCity_GameCorner_EventScript_20FF8A:: @ 820FF8A MauvilleCity_GameCorner_EventScript_20FFDD:: @ 820FFDD checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 1500 + compare VAR_0x4002, 1500 goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF checkitemspace ITEM_TM32, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_21010D takecoins 1500 giveitem ITEM_TM32, 1 @@ -319,10 +319,10 @@ MauvilleCity_GameCorner_EventScript_20FFDD:: @ 820FFDD MauvilleCity_GameCorner_EventScript_210017:: @ 8210017 checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 3500 + compare VAR_0x4002, 3500 goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF checkitemspace ITEM_TM29, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_21010D takecoins 3500 giveitem ITEM_TM29, 1 @@ -334,10 +334,10 @@ MauvilleCity_GameCorner_EventScript_210017:: @ 8210017 MauvilleCity_GameCorner_EventScript_210051:: @ 8210051 checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 4000 + compare VAR_0x4002, 4000 goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF checkitemspace ITEM_TM35, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_21010D takecoins 4000 giveitem ITEM_TM35, 1 @@ -349,10 +349,10 @@ MauvilleCity_GameCorner_EventScript_210051:: @ 8210051 MauvilleCity_GameCorner_EventScript_21008B:: @ 821008B checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 4000 + compare VAR_0x4002, 4000 goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF checkitemspace ITEM_TM24, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_21010D takecoins 4000 giveitem ITEM_TM24, 1 @@ -364,10 +364,10 @@ MauvilleCity_GameCorner_EventScript_21008B:: @ 821008B MauvilleCity_GameCorner_EventScript_2100C5:: @ 82100C5 checkcoins VAR_0x4002 - compare_var_to_value VAR_0x4002, 4000 + compare VAR_0x4002, 4000 goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF checkitemspace ITEM_TM13, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_21010D takecoins 4000 giveitem ITEM_TM13, 1 @@ -407,7 +407,7 @@ MauvilleCity_GameCorner_EventScript_210137:: @ 8210137 checkflag FLAG_0x0E2 goto_eq MauvilleCity_GameCorner_EventScript_210213 msgbox MauvilleCity_GameCorner_Text_210750, 5 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210209 switch VAR_FIRST_POKE case 0, MauvilleCity_GameCorner_EventScript_21017C @@ -418,7 +418,7 @@ MauvilleCity_GameCorner_EventScript_210137:: @ 8210137 MauvilleCity_GameCorner_EventScript_21017C:: @ 821017C bufferdecorationname 1, 88 checkdecorspace 88 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_2101FA msgbox MauvilleCity_GameCorner_Text_21079C, 4 givedecoration_std 88 @@ -429,7 +429,7 @@ MauvilleCity_GameCorner_EventScript_21017C:: @ 821017C MauvilleCity_GameCorner_EventScript_2101A6:: @ 82101A6 bufferdecorationname 1, 89 checkdecorspace 89 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_2101FA msgbox MauvilleCity_GameCorner_Text_21079C, 4 givedecoration_std 89 @@ -440,7 +440,7 @@ MauvilleCity_GameCorner_EventScript_2101A6:: @ 82101A6 MauvilleCity_GameCorner_EventScript_2101D0:: @ 82101D0 bufferdecorationname 1, 90 checkdecorspace 90 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_2101FA msgbox MauvilleCity_GameCorner_Text_21079C, 4 givedecoration_std 90 @@ -468,7 +468,7 @@ MauvilleCity_GameCorner_EventScript_21021D:: @ 821021D lock faceplayer checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 1 + compare VAR_RESULT, 1 goto_eq MauvilleCity_GameCorner_EventScript_21023D msgbox MauvilleCity_GameCorner_Text_210830, 4 goto MauvilleCity_GameCorner_EventScript_2102A9 @@ -478,7 +478,7 @@ MauvilleCity_GameCorner_EventScript_21023D:: @ 821023D checkflag FLAG_0x0E1 goto_eq MauvilleCity_GameCorner_EventScript_21026B checkcoins VAR_0x4001 - compare_var_to_value VAR_0x4001, 1 + compare VAR_0x4001, 1 goto_if 4, MauvilleCity_GameCorner_EventScript_21026B setflag FLAG_0x0E1 givecoins 20 @@ -537,7 +537,7 @@ MauvilleCity_GameCorner_EventScript_2102C6:: @ 82102C6 MauvilleCity_GameCorner_EventScript_2102D6:: @ 82102D6 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 0 specialvar VAR_RESULT, sub_8139248 @@ -548,7 +548,7 @@ MauvilleCity_GameCorner_EventScript_2102D6:: @ 82102D6 MauvilleCity_GameCorner_EventScript_2102F6:: @ 82102F6 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 1 specialvar VAR_RESULT, sub_8139248 @@ -559,7 +559,7 @@ MauvilleCity_GameCorner_EventScript_2102F6:: @ 82102F6 MauvilleCity_GameCorner_EventScript_210316:: @ 8210316 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 2 specialvar VAR_RESULT, sub_8139248 @@ -570,7 +570,7 @@ MauvilleCity_GameCorner_EventScript_210316:: @ 8210316 MauvilleCity_GameCorner_EventScript_210336:: @ 8210336 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 3 specialvar VAR_RESULT, sub_8139248 @@ -581,7 +581,7 @@ MauvilleCity_GameCorner_EventScript_210336:: @ 8210336 MauvilleCity_GameCorner_EventScript_210356:: @ 8210356 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 4 specialvar VAR_RESULT, sub_8139248 @@ -592,7 +592,7 @@ MauvilleCity_GameCorner_EventScript_210356:: @ 8210356 MauvilleCity_GameCorner_EventScript_210376:: @ 8210376 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 5 specialvar VAR_RESULT, sub_8139248 @@ -603,7 +603,7 @@ MauvilleCity_GameCorner_EventScript_210376:: @ 8210376 MauvilleCity_GameCorner_EventScript_210396:: @ 8210396 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 6 specialvar VAR_RESULT, sub_8139248 @@ -614,7 +614,7 @@ MauvilleCity_GameCorner_EventScript_210396:: @ 8210396 MauvilleCity_GameCorner_EventScript_2103B6:: @ 82103B6 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 7 specialvar VAR_RESULT, sub_8139248 @@ -625,7 +625,7 @@ MauvilleCity_GameCorner_EventScript_2103B6:: @ 82103B6 MauvilleCity_GameCorner_EventScript_2103D6:: @ 82103D6 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 8 specialvar VAR_RESULT, sub_8139248 @@ -636,7 +636,7 @@ MauvilleCity_GameCorner_EventScript_2103D6:: @ 82103D6 MauvilleCity_GameCorner_EventScript_2103F6:: @ 82103F6 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 9 specialvar VAR_RESULT, sub_8139248 @@ -647,7 +647,7 @@ MauvilleCity_GameCorner_EventScript_2103F6:: @ 82103F6 MauvilleCity_GameCorner_EventScript_210416:: @ 8210416 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 10 specialvar VAR_RESULT, sub_8139248 @@ -658,7 +658,7 @@ MauvilleCity_GameCorner_EventScript_210416:: @ 8210416 MauvilleCity_GameCorner_EventScript_210436:: @ 8210436 lockall checkitem ITEM_COIN_CASE, 1 - compare_var_to_value VAR_RESULT, 0 + compare VAR_RESULT, 0 goto_eq MauvilleCity_GameCorner_EventScript_210456 setvar VAR_0x8004, 11 specialvar VAR_RESULT, sub_8139248 |