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,10 +4,10 @@ NavelRock_Harbor_MapScripts:: @ 82690BC
|
||||
NavelRock_Harbor_EventScript_2690BD:: @ 82690BD
|
||||
lock
|
||||
faceplayer
|
||||
msgbox NavelRock_Harbor_Text_2C6CE6, 5
|
||||
msgbox NavelRock_Harbor_Text_2C6CE6, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq NavelRock_Harbor_EventScript_269102
|
||||
msgbox NavelRock_Harbor_Text_2A6A5D, 4
|
||||
msgbox NavelRock_Harbor_Text_2A6A5D, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, NavelRock_Harbor_Movement_2725AA
|
||||
waitmovement 0
|
||||
@@ -21,7 +21,7 @@ NavelRock_Harbor_EventScript_2690BD:: @ 82690BD
|
||||
end
|
||||
|
||||
NavelRock_Harbor_EventScript_269102:: @ 8269102
|
||||
msgbox NavelRock_Harbor_Text_2A6A82, 4
|
||||
msgbox NavelRock_Harbor_Text_2A6A82, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user