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:
@@ -4,7 +4,7 @@ VerdanturfTown_FriendshipRatersHouse_MapScripts:: @ 8203030
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_203031:: @ 8203031
|
||||
lock
|
||||
faceplayer
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2030ED, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2030ED, MSGBOX_DEFAULT
|
||||
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_FriendshipRatersHouse_EventScript_203094
|
||||
@@ -18,37 +18,37 @@ VerdanturfTown_FriendshipRatersHouse_EventScript_203031:: @ 8203031
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_203094:: @ 8203094
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2032DF, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2032DF, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_20309E:: @ 820309E
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203288, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203288, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_2030A8:: @ 82030A8
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203249, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203249, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_2030B2:: @ 82030B2
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203213, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203213, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_2030BC:: @ 82030BC
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2031D1, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_2031D1, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_2030C6:: @ 82030C6
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203192, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203192, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_FriendshipRatersHouse_EventScript_2030D0:: @ 82030D0
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203141, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_203141, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -57,7 +57,7 @@ VerdanturfTown_FriendshipRatersHouse_EventScript_2030DA:: @ 82030DA
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_PIKACHU, 0
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_20334A, 4
|
||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_20334A, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user