From c557ac61aef788f1630d3960dd2366bf000db8e0 Mon Sep 17 00:00:00 2001 From: Melody Date: Sun, 2 Dec 2018 03:37:46 -0500 Subject: adds constants, cleans up callstd and msgbox code * adds some constants for standard script names and messagebox types * replaces some callstd calls with msgbox calls where equivalent * replaces msgbox and callstd calls using raw digits with versions that use the constants --- data/maps/BattleFrontier_Lounge6/scripts.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'data/maps/BattleFrontier_Lounge6') diff --git a/data/maps/BattleFrontier_Lounge6/scripts.inc b/data/maps/BattleFrontier_Lounge6/scripts.inc index c779e7c76..2f929f082 100644 --- a/data/maps/BattleFrontier_Lounge6/scripts.inc +++ b/data/maps/BattleFrontier_Lounge6/scripts.inc @@ -10,7 +10,7 @@ BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED copyvar VAR_0x8004, VAR_0x8008 specialvar VAR_RESULT, sub_807E73C copyvar VAR_0x8009, VAR_RESULT - msgbox BattleFrontier_Lounge6_Text_26508D, 5 + msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO compare VAR_RESULT, 0 goto_eq BattleFrontier_Lounge6_EventScript_26506B special sub_81B94B0 @@ -28,24 +28,24 @@ BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED special sub_807EA10 special sub_807F0E4 waitstate - msgbox BattleFrontier_Lounge6_Text_265128, 4 + msgbox BattleFrontier_Lounge6_Text_265128, MSGBOX_DEFAULT setflag FLAG_0x09C release end BattleFrontier_Lounge6_EventScript_26506B:: @ 826506B - msgbox BattleFrontier_Lounge6_Text_2651CB, 4 + msgbox BattleFrontier_Lounge6_Text_2651CB, MSGBOX_DEFAULT release end BattleFrontier_Lounge6_EventScript_265075:: @ 8265075 bufferspeciesname 0, VAR_0x8009 - msgbox BattleFrontier_Lounge6_Text_26518D, 4 + msgbox BattleFrontier_Lounge6_Text_26518D, MSGBOX_DEFAULT release end BattleFrontier_Lounge6_EventScript_265083:: @ 8265083 - msgbox BattleFrontier_Lounge6_Text_26520E, 4 + msgbox BattleFrontier_Lounge6_Text_26520E, MSGBOX_DEFAULT release end -- cgit v1.2.3 From 2615ece23bd9463f3e43fca40eac1adcabeb2813 Mon Sep 17 00:00:00 2001 From: Melody Date: Fri, 7 Dec 2018 10:41:08 -0500 Subject: Use normal apostrophes like adults --- data/maps/BattleFrontier_Lounge6/scripts.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'data/maps/BattleFrontier_Lounge6') diff --git a/data/maps/BattleFrontier_Lounge6/scripts.inc b/data/maps/BattleFrontier_Lounge6/scripts.inc index 2f929f082..495a604d4 100644 --- a/data/maps/BattleFrontier_Lounge6/scripts.inc +++ b/data/maps/BattleFrontier_Lounge6/scripts.inc @@ -52,31 +52,31 @@ BattleFrontier_Lounge6_EventScript_265083:: @ 8265083 BattleFrontier_Lounge6_Text_26508D: @ 826508D .string "My POKéMON is a {STR_VAR_2}.\n" .string "Do you know it?\l" - .string "It’s quite cute and rather nice.\p" + .string "It's quite cute and rather nice.\p" .string "This little one, I could trade with\n" .string "pride!\p" .string "Would you like to trade me a {STR_VAR_1}\n" .string "for my {STR_VAR_2}?$" BattleFrontier_Lounge6_Text_265128: @ 8265128 - .string "Oh, it’s adorable!\n" + .string "Oh, it's adorable!\n" .string "Thank you!\l" - .string "I promise I’ll be good to it!\p" - .string "Oh! I hope you’ll be good to\n" + .string "I promise I'll be good to it!\p" + .string "Oh! I hope you'll be good to\n" .string "my {STR_VAR_2}, too!$" BattleFrontier_Lounge6_Text_26518D: @ 826518D - .string "Oh, I’m sorry!\n" - .string "I don’t intend to trade for anything\l" + .string "Oh, I'm sorry!\n" + .string "I don't intend to trade for anything\l" .string "but a {STR_VAR_1}.$" BattleFrontier_Lounge6_Text_2651CB: @ 82651CB - .string "Oh, you won’t?\n" - .string "Well, that’s fine, too.\l" + .string "Oh, you won't?\n" + .string "Well, that's fine, too.\l" .string "Please come visit us again.$" BattleFrontier_Lounge6_Text_26520E: @ 826520E .string "Giggle!\n" .string "A SKITTY is so much cuter than I had\l" - .string "imagined. I’m delighted!$" + .string "imagined. I'm delighted!$" -- cgit v1.2.3