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
This commit is contained in:
@@ -51,10 +51,10 @@ FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
|
||||
playse SE_W187
|
||||
waitse
|
||||
waitmovement 0
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257C93, 4
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257C93, MSGBOX_DEFAULT
|
||||
setvar VAR_0x8004, 4
|
||||
special sub_81B99B4
|
||||
msgbox gStringVar4, 4
|
||||
msgbox gStringVar4, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
call FallarborTown_BattleTentBattleRoom_EventScript_257B6C
|
||||
switch VAR_RESULT
|
||||
@@ -65,7 +65,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
|
||||
waitmovement 0
|
||||
setvar VAR_0x8004, 6
|
||||
special sub_81B9B80
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CCE, 4
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CCE, MSGBOX_DEFAULT
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_20097E:: @ 820097E
|
||||
setvar VAR_0x8004, 2
|
||||
@@ -81,7 +81,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_20099C:: @ 820099C
|
||||
playse SE_BAN
|
||||
waitse
|
||||
waitmovement 0
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CB3, 4
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CB3, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
|
||||
@@ -102,7 +102,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
|
||||
waitmovement 0
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B94
|
||||
waitmovement 0
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CE9, 4
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257CE9, MSGBOX_DEFAULT
|
||||
special LoadPlayerParty
|
||||
special SavePlayerParty
|
||||
setvar VAR_0x8004, 3
|
||||
@@ -127,7 +127,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
|
||||
case 2, FallarborTown_BattleTentBattleRoom_EventScript_200AA6
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200A78:: @ 8200A78
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257E6B, 5
|
||||
msgbox FallarborTown_BattleTentBattleRoom_Text_257E6B, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case 0, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_200B51
|
||||
|
||||
Reference in New Issue
Block a user