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:
@@ -19,7 +19,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_21FFA6:: @ 821FFA6
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_21FFC0
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -47,7 +47,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_21FFDC:: @ 821FFDC
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_21FFF4
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -72,7 +72,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_22000A:: @ 822000A
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_220024
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -97,7 +97,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_22003A:: @ 822003A
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_220054
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -118,7 +118,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_220054: @ 8220054
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_EventScript_22006C:: @ 822006C
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_2200C5, 2
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_2200C5, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
|
||||
@@ -133,13 +133,13 @@ LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_EventScript_22009C:: @ 822009C
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_22016B, 4
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_22016B, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_EventScript_2200A7:: @ 82200A7
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_2201C4, 4
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_2201C4, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 7, LilycoveCity_DepartmentStore_5F_Movement_2725A6
|
||||
waitmovement 0
|
||||
@@ -147,7 +147,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_2200A7:: @ 82200A7
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_EventScript_2200BC:: @ 82200BC
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_220122, 2
|
||||
msgbox LilycoveCity_DepartmentStore_5F_Text_220122, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_5F_Text_2200C5: @ 82200C5
|
||||
|
||||
Reference in New Issue
Block a user