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:
@@ -2,15 +2,15 @@ LilycoveCity_DepartmentStore_2F_MapScripts:: @ 821FB2C
|
||||
.byte 0
|
||||
|
||||
LilycoveCity_DepartmentStore_2F_EventScript_21FB2D:: @ 821FB2D
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBAC, 2
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBAC, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_2F_EventScript_21FB36:: @ 821FB36
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBDF, 2
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBDF, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_2F_EventScript_21FB3F:: @ 821FB3F
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FC23, 2
|
||||
msgbox LilycoveCity_DepartmentStore_2F_Text_21FC23, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_2F_EventScript_21FB48:: @ 821FB48
|
||||
@@ -19,7 +19,7 @@ LilycoveCity_DepartmentStore_2F_EventScript_21FB48:: @ 821FB48
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB60
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -46,7 +46,7 @@ LilycoveCity_DepartmentStore_2F_EventScript_21FB7A:: @ 821FB7A
|
||||
message gUnknown_08272A21
|
||||
waitmessage
|
||||
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB94
|
||||
msgbox gUnknown_08272A3F, 4
|
||||
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user