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_Lounge7/scripts.inc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'data/maps/BattleFrontier_Lounge7/scripts.inc') diff --git a/data/maps/BattleFrontier_Lounge7/scripts.inc b/data/maps/BattleFrontier_Lounge7/scripts.inc index 0b810d4f7..882f7a7eb 100644 --- a/data/maps/BattleFrontier_Lounge7/scripts.inc +++ b/data/maps/BattleFrontier_Lounge7/scripts.inc @@ -7,13 +7,13 @@ BattleFrontier_Lounge7_EventScript_265255:: @ 8265255 setvar VAR_TEMP_C, 9 checkflag FLAG_0x15A goto_eq BattleFrontier_Lounge7_EventScript_265276 - msgbox BattleFrontier_Lounge7_Text_2656ED, 4 + msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT setflag FLAG_0x15A goto BattleFrontier_Lounge7_EventScript_265284 end BattleFrontier_Lounge7_EventScript_265276:: @ 8265276 - msgbox BattleFrontier_Lounge7_Text_2658AB, 4 + msgbox BattleFrontier_Lounge7_Text_2658AB, MSGBOX_DEFAULT goto BattleFrontier_Lounge7_EventScript_265284 end @@ -122,13 +122,13 @@ BattleFrontier_Lounge7_EventScript_265445:: @ 8265445 setvar VAR_TEMP_C, 10 checkflag FLAG_0x15B goto_eq BattleFrontier_Lounge7_EventScript_265466 - msgbox BattleFrontier_Lounge7_Text_265A6C, 4 + msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT setflag FLAG_0x15B goto BattleFrontier_Lounge7_EventScript_265474 end BattleFrontier_Lounge7_EventScript_265466:: @ 8265466 - msgbox BattleFrontier_Lounge7_Text_265C2C, 4 + msgbox BattleFrontier_Lounge7_Text_265C2C, MSGBOX_DEFAULT goto BattleFrontier_Lounge7_EventScript_265474 end @@ -234,12 +234,12 @@ BattleFrontier_Lounge7_EventScript_26562A:: @ 826562A BattleFrontier_Lounge7_EventScript_265635:: @ 8265635 special sub_813ADB8 special sub_813A988 - msgbox BattleFrontier_Lounge7_Text_265A0E, 4 + msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT release end BattleFrontier_Lounge7_EventScript_265645:: @ 8265645 - msgbox BattleFrontier_Lounge7_Text_265A0E, 4 + msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT release end @@ -249,18 +249,18 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F special sub_813AC7C buffernumberstring 1, VAR_0x8008 copyvar VAR_0x8004, VAR_TEMP_C - msgbox BattleFrontier_Lounge7_Text_265921, 5 + msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO compare VAR_RESULT, 0 goto_eq BattleFrontier_Lounge7_EventScript_2656CA specialvar VAR_TEMP_1, sub_813AA04 compare VAR_TEMP_1, VAR_0x8008 goto_if 4, BattleFrontier_Lounge7_EventScript_265696 - msgbox BattleFrontier_Lounge7_Text_265997, 4 + msgbox BattleFrontier_Lounge7_Text_265997, MSGBOX_DEFAULT goto BattleFrontier_Lounge7_EventScript_2656CA end BattleFrontier_Lounge7_EventScript_265696:: @ 8265696 - msgbox BattleFrontier_Lounge7_Text_26595A, 4 + msgbox BattleFrontier_Lounge7_Text_26595A, MSGBOX_DEFAULT special sub_813AEB4 fadescreen 1 special sub_813A988 @@ -269,7 +269,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696 waitstate compare VAR_RESULT, 0 goto_eq BattleFrontier_Lounge7_EventScript_265645 - msgbox BattleFrontier_Lounge7_Text_2659C7, 4 + msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT copyvar VAR_0x8004, VAR_0x8008 special sub_813A9A4 release @@ -282,11 +282,11 @@ BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA end BattleFrontier_Lounge7_EventScript_2656DB:: @ 82656DB - msgbox BattleFrontier_Lounge7_Text_265C6F, 2 + msgbox BattleFrontier_Lounge7_Text_265C6F, MSGBOX_NPC end BattleFrontier_Lounge7_EventScript_2656E4:: @ 82656E4 - msgbox BattleFrontier_Lounge7_Text_265D17, 2 + msgbox BattleFrontier_Lounge7_Text_265D17, MSGBOX_NPC end BattleFrontier_Lounge7_Text_2656ED: @ 82656ED -- 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_Lounge7/scripts.inc | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'data/maps/BattleFrontier_Lounge7/scripts.inc') diff --git a/data/maps/BattleFrontier_Lounge7/scripts.inc b/data/maps/BattleFrontier_Lounge7/scripts.inc index 882f7a7eb..f395a27bc 100644 --- a/data/maps/BattleFrontier_Lounge7/scripts.inc +++ b/data/maps/BattleFrontier_Lounge7/scripts.inc @@ -291,19 +291,19 @@ BattleFrontier_Lounge7_EventScript_2656E4:: @ 82656E4 BattleFrontier_Lounge7_Text_2656ED: @ 82656ED .string "Buhahaha!\p" - .string "You couldn’t tell it from looking now,\n" + .string "You couldn't tell it from looking now,\n" .string "but I used to be one tough TRAINER.\p" .string "I had a reputation as the toughest\n" .string "BEAUTY around, I tell you!\p" .string "… … … … … …\p" .string "What is it now?\n" - .string "You don’t believe me.\p" - .string "I’m not like that blowhard woman over\n" - .string "there. I’m actually talented!\p" + .string "You don't believe me.\p" + .string "I'm not like that blowhard woman over\n" + .string "there. I'm actually talented!\p" .string "Let me prove it to you.\n" .string "I can teach your POKéMON special and\l" .string "yet cute moves.\p" - .string "But my lessons don’t come free.\n" + .string "But my lessons don't come free.\n" .string "How about paying for the moves I teach\l" .string "with a wee bit of Battle Points?$" @@ -326,33 +326,33 @@ BattleFrontier_Lounge7_Text_26595A: @ 826595A BattleFrontier_Lounge7_Text_265997: @ 8265997 .string "What the…\n" - .string "You haven’t got enough Battle Points!$" + .string "You haven't got enough Battle Points!$" BattleFrontier_Lounge7_Text_2659C7: @ 82659C7 .string "Do you see how skilled I am now?\n" - .string "I’ll take your Battle Points, thanks!$" + .string "I'll take your Battle Points, thanks!$" BattleFrontier_Lounge7_Text_265A0E: @ 8265A0E - .string "What’s that?\n" - .string "You don’t want to…\p" + .string "What's that?\n" + .string "You don't want to…\p" .string "If you want to see how skilled I am,\n" .string "you come see me anytime!$" BattleFrontier_Lounge7_Text_265A6C: @ 8265A6C .string "Ihihihi!\p" - .string "I know it’s hard to see now, but I used\n" + .string "I know it's hard to see now, but I used\n" .string "to be one fantastic TRAINER.\p" .string "I had a reputation as the most\n" .string "invincible SWIMMER around, I tell you!\p" .string "… … … … … …\p" - .string "What’s wrong?\n" - .string "You don’t believe me.\p" - .string "I’m not like that buffoonish woman over\n" - .string "there. I’m actually experienced!\p" + .string "What's wrong?\n" + .string "You don't believe me.\p" + .string "I'm not like that buffoonish woman over\n" + .string "there. I'm actually experienced!\p" .string "I can prove it to you.\n" .string "I can teach your POKéMON hard and\l" .string "yet pretty moves.\p" - .string "But my lessons don’t come free.\n" + .string "But my lessons don't come free.\n" .string "How about paying for the moves I teach\l" .string "with a wee bit of Battle Points?$" @@ -364,31 +364,31 @@ BattleFrontier_Lounge7_Text_265C2C: @ 8265C2C BattleFrontier_Lounge7_Text_265C6F: @ 8265C6F .string "Those ladies, the way they bad-mouth\n" .string "each other, you probably think that\l" - .string "they don’t get along.\p" - .string "But if that were true, they wouldn’t\n" + .string "they don't get along.\p" + .string "But if that were true, they wouldn't\n" .string "stay out here together, would they?$" BattleFrontier_Lounge7_Text_265D17: @ 8265D17 .string "When I was just a wee YOUNGSTER,\n" .string "those ladies were strong and beautiful.\p" .string "They were idols among us TRAINERS.\p" - .string "Even now, age hasn’t dulled their\n" + .string "Even now, age hasn't dulled their\n" .string "abilities.\p" .string "In fact, their POKéMON moves have\n" .string "grown even more polished.\p" - .string "But… For some reason, I can’t help\n" + .string "But… For some reason, I can't help\n" .string "but feel this…\p" .string "Time is so cruel…$" BattleFrontier_Lounge7_Text_265E30:: @ 8265E30 .string "Recovers up to\n" - .string "half the user’s\n" + .string "half the user's\n" .string "maximum HP.$" BattleFrontier_Lounge7_Text_265E5B:: @ 8265E5B .string "Inflicts damage\n" .string "identical to the\n" - .string "user’s level.$" + .string "user's level.$" BattleFrontier_Lounge7_Text_265E8A:: @ 8265E8A .string "Recovers half the\n" @@ -442,7 +442,7 @@ BattleFrontier_Lounge7_Text_26603E:: @ 826603E BattleFrontier_Lounge7_Text_266070:: @ 8266070 .string "Hurls mud in the\n" - .string "foe’s face to re-\n" + .string "foe's face to re-\n" .string "duce its accuracy.$" BattleFrontier_Lounge7_Text_2660A6:: @ 82660A6 @@ -453,7 +453,7 @@ BattleFrontier_Lounge7_Text_2660A6:: @ 82660A6 BattleFrontier_Lounge7_Text_2660D0:: @ 82660D0 .string "A chilling attack\n" .string "that lowers the\n" - .string "foe’s SPEED.$" + .string "foe's SPEED.$" BattleFrontier_Lounge7_Text_2660FF:: @ 82660FF .string "Endures any at-\n" @@ -461,7 +461,7 @@ BattleFrontier_Lounge7_Text_2660FF:: @ 82660FF .string "leaving 1HP.$" BattleFrontier_Lounge7_Text_26612D:: @ 826612D - .string "Copies the foe’s\n" + .string "Copies the foe's\n" .string "effect(s) and\n" .string "gives to the user.$" -- cgit v1.2.3