diff options
author | Melody <melody@pallet.town> | 2018-12-02 03:37:46 -0500 |
---|---|---|
committer | Melody <melody@pallet.town> | 2018-12-02 03:37:46 -0500 |
commit | c557ac61aef788f1630d3960dd2366bf000db8e0 (patch) | |
tree | 305dfa97c9dbceaa197cc3de648d69962a14c26d /data/scripts/secret_power_tm.inc | |
parent | 145047d4389c68052ed8a5f4c1760238112004f3 (diff) |
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
Diffstat (limited to 'data/scripts/secret_power_tm.inc')
-rw-r--r-- | data/scripts/secret_power_tm.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/secret_power_tm.inc b/data/scripts/secret_power_tm.inc index 27fe53a4c..aa1f4afee 100644 --- a/data/scripts/secret_power_tm.inc +++ b/data/scripts/secret_power_tm.inc @@ -36,10 +36,10 @@ Route111_Text_27659D: @ 827659D Route111_EventScript_2765FF:: @ 82765FF lock faceplayer - msgbox Route111_Text_2762C9, 5 + msgbox Route111_Text_2762C9, MSGBOX_YESNO compare VAR_RESULT, 1 goto_eq Route111_EventScript_27661E - msgbox Route111_Text_27655C, 4 + msgbox Route111_Text_27655C, MSGBOX_DEFAULT release end @@ -47,7 +47,7 @@ Route111_EventScript_27661E:: @ 827661E giveitem_std ITEM_TM43 compare VAR_RESULT, 0 goto_eq Route111_EventScript_276680 - msgbox Route111_Text_27636E, 4 + msgbox Route111_Text_27636E, MSGBOX_DEFAULT closemessage setflag FLAG_0x060 clearflag FLAG_HIDE_SLATEPORT_CITY_TM_SALESMAN @@ -72,7 +72,7 @@ Route111_EventScript_276675:: @ 8276675 return Route111_EventScript_276680:: @ 8276680 - msgbox Route111_Text_27659D, 4 + msgbox Route111_Text_27659D, MSGBOX_DEFAULT release end |