summaryrefslogtreecommitdiff
path: root/data/maps/SlateportCity/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SlateportCity/scripts.inc')
-rw-r--r--data/maps/SlateportCity/scripts.inc198
1 files changed, 99 insertions, 99 deletions
diff --git a/data/maps/SlateportCity/scripts.inc b/data/maps/SlateportCity/scripts.inc
index 1b5592f22..854462533 100644
--- a/data/maps/SlateportCity/scripts.inc
+++ b/data/maps/SlateportCity/scripts.inc
@@ -1,5 +1,5 @@
SlateportCity_MapScripts:: @ 814BA36
- map_script 3, SlateportCity_MapScript1_14BA3C
+ map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_MapScript1_14BA3C
.byte 0
SlateportCity_MapScript1_14BA3C:: @ 814BA3C
@@ -45,7 +45,7 @@ SlateportCity_EventScript_14BAB6:: @ 814BAB6
message SlateportCity_Text_164642
waitmessage
pokemart SlateportCity_Items1
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox Text_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -65,30 +65,30 @@ SlateportCity_EventScript_14BAE0:: @ 814BAE0
lock
faceplayer
bufferleadmonspeciesname 0
- msgbox SlateportCity_Text_164682, 4
+ msgbox SlateportCity_Text_164682, MSGBOX_DEFAULT
specialvar VAR_RESULT, LeadMonHasEffortRibbon
compare VAR_RESULT, 1
call_if_eq SlateportCity_EventScript_14BB35
specialvar VAR_RESULT, ScrSpecial_AreLeadMonEVsMaxedOut
compare VAR_RESULT, 0
call_if_eq SlateportCity_EventScript_14BB2B
- msgbox SlateportCity_Text_164691, 4
+ msgbox SlateportCity_Text_164691, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message SlateportCity_Text_1646DD
waitfanfare
waitmessage
- msgbox SlateportCity_Text_1646FC, 4
+ msgbox SlateportCity_Text_1646FC, MSGBOX_DEFAULT
special GivLeadMonEffortRibbon
release
end
SlateportCity_EventScript_14BB2B:: @ 814BB2B
- msgbox SlateportCity_Text_16471C, 4
+ msgbox SlateportCity_Text_16471C, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB35:: @ 814BB35
- msgbox SlateportCity_Text_164775, 4
+ msgbox SlateportCity_Text_164775, MSGBOX_DEFAULT
release
end
@@ -97,12 +97,12 @@ SlateportCity_EventScript_14BB3F:: @ 814BB3F
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BB56
- msgbox SlateportCity_Text_164814, 4
+ msgbox SlateportCity_Text_164814, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB56:: @ 814BB56
- msgbox SlateportCity_Text_165376, 4
+ msgbox SlateportCity_Text_165376, MSGBOX_DEFAULT
release
end
@@ -111,12 +111,12 @@ SlateportCity_EventScript_14BB60:: @ 814BB60
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BB77
- msgbox SlateportCity_Text_1648A0, 4
+ msgbox SlateportCity_Text_1648A0, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB77:: @ 814BB77
- msgbox SlateportCity_Text_165222, 4
+ msgbox SlateportCity_Text_165222, MSGBOX_DEFAULT
release
end
@@ -126,17 +126,17 @@ SlateportCity_EventScript_14BB81:: @ 814BB81
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BBA1
goto_if_set FLAG_RECEIVED_SECRET_POWER, SlateportCity_EventScript_14BBAB
- msgbox SlateportCity_Text_164937, 4
+ msgbox SlateportCity_Text_164937, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBA1:: @ 814BBA1
- msgbox SlateportCity_Text_1652A0, 4
+ msgbox SlateportCity_Text_1652A0, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBAB:: @ 814BBAB
- msgbox SlateportCity_Text_164995, 4
+ msgbox SlateportCity_Text_164995, MSGBOX_DEFAULT
release
end
@@ -145,23 +145,23 @@ SlateportCity_EventScript_14BBB5:: @ 814BBB5
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BBCC
- msgbox SlateportCity_Text_164A30, 4
+ msgbox SlateportCity_Text_164A30, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBCC:: @ 814BBCC
- msgbox SlateportCity_Text_16530A, 4
+ msgbox SlateportCity_Text_16530A, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBD6:: @ 814BBD6
compare VAR_SLATEPORT_STATE, 1
goto_if_eq SlateportCity_EventScript_14BBEA
- msgbox SlateportCity_Text_164AA9, 2
+ msgbox SlateportCity_Text_164AA9, MSGBOX_NPC
end
SlateportCity_EventScript_14BBEA:: @ 814BBEA
- msgbox SlateportCity_Text_1653D1, 3
+ msgbox SlateportCity_Text_1653D1, MSGBOX_SIGN
end
SlateportCity_EventScript_14BBF3:: @ 814BBF3
@@ -169,12 +169,12 @@ SlateportCity_EventScript_14BBF3:: @ 814BBF3
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BC0A
- msgbox SlateportCity_Text_164B34, 4
+ msgbox SlateportCity_Text_164B34, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC0A:: @ 814BC0A
- msgbox SlateportCity_Text_1653F4, 4
+ msgbox SlateportCity_Text_1653F4, MSGBOX_DEFAULT
release
end
@@ -182,67 +182,67 @@ SlateportCity_EventScript_14BC14:: @ 814BC14
lock
faceplayer
goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_EventScript_14BC29
- msgbox SlateportCity_Text_164BBF, 4
+ msgbox SlateportCity_Text_164BBF, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC29:: @ 814BC29
- msgbox SlateportCity_Text_164BEA, 4
+ msgbox SlateportCity_Text_164BEA, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC33:: @ 814BC33
- msgbox SlateportCity_Text_165856, 3
+ msgbox SlateportCity_Text_165856, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC3C:: @ 814BC3C
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_EventScript_14BC63
goto_if_set FLAG_BADGE07_GET, SlateportCity_EventScript_14BC59
- msgbox SlateportCity_Text_1658A0, 4
+ msgbox SlateportCity_Text_1658A0, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC59:: @ 814BC59
- msgbox SlateportCity_Text_1658E8, 4
+ msgbox SlateportCity_Text_1658E8, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC63:: @ 814BC63
- msgbox SlateportCity_Text_165952, 4
+ msgbox SlateportCity_Text_165952, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC6D:: @ 814BC6D
- msgbox SlateportCity_Text_1659B3, 3
+ msgbox SlateportCity_Text_1659B3, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC76:: @ 814BC76
- msgbox SlateportCity_Text_1659E3, 3
+ msgbox SlateportCity_Text_1659E3, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC7F:: @ 814BC7F
- msgbox SlateportCity_Text_165A17, 3
+ msgbox SlateportCity_Text_165A17, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC88:: @ 814BC88
- msgbox SlateportCity_Text_165A57, 3
+ msgbox SlateportCity_Text_165A57, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC91:: @ 814BC91
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_EventScript_14BCA5
- msgbox SlateportCity_Text_165A8B, 4
+ msgbox SlateportCity_Text_165A8B, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BCA5:: @ 814BCA5
- msgbox SlateportCity_Text_165B02, 4
+ msgbox SlateportCity_Text_165B02, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BCAF:: @ 814BCAF
- msgbox SlateportCity_Text_165B48, 3
+ msgbox SlateportCity_Text_165B48, MSGBOX_SIGN
end
SlateportCity_EventScript_14BCB8:: @ 814BCB8
@@ -250,33 +250,33 @@ SlateportCity_EventScript_14BCB8:: @ 814BCB8
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BCCF
- msgbox SlateportCity_Text_164F9E, 4
+ msgbox SlateportCity_Text_164F9E, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BCCF:: @ 814BCCF
- msgbox SlateportCity_Text_164F9E, 4
+ msgbox SlateportCity_Text_164F9E, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BCD9:: @ 814BCD9
- msgbox SlateportCity_Text_164FFC, 2
+ msgbox SlateportCity_Text_164FFC, MSGBOX_NPC
end
SlateportCity_EventScript_14BCE2:: @ 814BCE2
- msgbox SlateportCity_Text_164E85, 2
+ msgbox SlateportCity_Text_164E85, MSGBOX_NPC
end
SlateportCity_EventScript_14BCEB:: @ 814BCEB
- msgbox SlateportCity_Text_164EDB, 2
+ msgbox SlateportCity_Text_164EDB, MSGBOX_NPC
end
SlateportCity_EventScript_14BCF4:: @ 814BCF4
- msgbox SlateportCity_Text_164F62, 2
+ msgbox SlateportCity_Text_164F62, MSGBOX_NPC
end
SlateportCity_EventScript_14BCFD:: @ 814BCFD
- msgbox SlateportCity_Text_16507C, 2
+ msgbox SlateportCity_Text_16507C, MSGBOX_NPC
end
SlateportCity_EventScript_14BD06:: @ 814BD06
@@ -291,19 +291,19 @@ SlateportCity_EventScript_14BD06:: @ 814BD06
end
SlateportCity_EventScript_14BD28:: @ 814BD28
- msgbox SlateportCity_Text_16511E, 4
+ msgbox SlateportCity_Text_16511E, MSGBOX_DEFAULT
return
SlateportCity_EventScript_14BD31:: @ 814BD31
- msgbox SlateportCity_Text_1651A1, 4
+ msgbox SlateportCity_Text_1651A1, MSGBOX_DEFAULT
return
SlateportCity_EventScript_14BD3A:: @ 814BD3A
lock
faceplayer
- msgbox SlateportCity_Text_164C64, 4
+ msgbox SlateportCity_Text_164C64, MSGBOX_DEFAULT
closemessage
- applymovement 5, SlateportCity_Movement_1A083D
+ applymovement 5, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -311,9 +311,9 @@ SlateportCity_EventScript_14BD3A:: @ 814BD3A
SlateportCity_EventScript_14BD51:: @ 814BD51
lock
faceplayer
- msgbox SlateportCity_Text_164C9F, 4
+ msgbox SlateportCity_Text_164C9F, MSGBOX_DEFAULT
closemessage
- applymovement 19, SlateportCity_Movement_1A083D
+ applymovement 19, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -321,9 +321,9 @@ SlateportCity_EventScript_14BD51:: @ 814BD51
SlateportCity_EventScript_14BD68:: @ 814BD68
lock
faceplayer
- msgbox SlateportCity_Text_164CE8, 4
+ msgbox SlateportCity_Text_164CE8, MSGBOX_DEFAULT
closemessage
- applymovement 20, SlateportCity_Movement_1A083D
+ applymovement 20, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -331,9 +331,9 @@ SlateportCity_EventScript_14BD68:: @ 814BD68
SlateportCity_EventScript_14BD7F:: @ 814BD7F
lock
faceplayer
- msgbox SlateportCity_Text_164D2B, 4
+ msgbox SlateportCity_Text_164D2B, MSGBOX_DEFAULT
closemessage
- applymovement 27, SlateportCity_Movement_1A083D
+ applymovement 27, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -341,9 +341,9 @@ SlateportCity_EventScript_14BD7F:: @ 814BD7F
SlateportCity_EventScript_14BD96:: @ 814BD96
lock
faceplayer
- msgbox SlateportCity_Text_164D92, 4
+ msgbox SlateportCity_Text_164D92, MSGBOX_DEFAULT
closemessage
- applymovement 28, SlateportCity_Movement_1A083D
+ applymovement 28, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -351,9 +351,9 @@ SlateportCity_EventScript_14BD96:: @ 814BD96
SlateportCity_EventScript_14BDAD:: @ 814BDAD
lock
faceplayer
- msgbox SlateportCity_Text_164DD5, 4
+ msgbox SlateportCity_Text_164DD5, MSGBOX_DEFAULT
closemessage
- applymovement 29, SlateportCity_Movement_1A083D
+ applymovement 29, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -361,9 +361,9 @@ SlateportCity_EventScript_14BDAD:: @ 814BDAD
SlateportCity_EventScript_14BDC4:: @ 814BDC4
lock
faceplayer
- msgbox SlateportCity_Text_164DF4, 4
+ msgbox SlateportCity_Text_164DF4, MSGBOX_DEFAULT
closemessage
- applymovement 30, SlateportCity_Movement_1A083D
+ applymovement 30, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -371,9 +371,9 @@ SlateportCity_EventScript_14BDC4:: @ 814BDC4
SlateportCity_EventScript_14BDDB:: @ 814BDDB
lock
faceplayer
- msgbox SlateportCity_Text_164E46, 4
+ msgbox SlateportCity_Text_164E46, MSGBOX_DEFAULT
closemessage
- applymovement 31, SlateportCity_Movement_1A083D
+ applymovement 31, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -381,10 +381,10 @@ SlateportCity_EventScript_14BDDB:: @ 814BDDB
SlateportCity_EventScript_14BDF2:: @ 814BDF2
lock
faceplayer
- message SlateportCity_Text_1A0BE4
+ message Text_HowMayIServeYou
waitmessage
pokemartdecoration SlateportCity_Decorations1
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox Text_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -398,7 +398,7 @@ SlateportCity_Decorations1:: @ 814BE0C
end
SlateportCity_EventScript_14BE16:: @ 814BE16
- msgbox SlateportCity_Text_1A116E, 4
+ msgbox SlateportCity_Text_1A116E, MSGBOX_DEFAULT
release
end
@@ -406,10 +406,10 @@ SlateportCity_EventScript_14BE20:: @ 814BE20
lock
faceplayer
goto_if_unset FLAG_RECEIVED_SECRET_POWER, SlateportCity_EventScript_14BE16
- message SlateportCity_Text_1A0BE4
+ message Text_HowMayIServeYou
waitmessage
pokemartdecoration SlateportCity_Decorations2
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox Text_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -437,10 +437,10 @@ SlateportCity_Decorations2:: @ 814BE40
lock
faceplayer
goto_if_unset FLAG_RECEIVED_SECRET_POWER, SlateportCity_EventScript_14BE16
- message SlateportCity_Text_1A0BE4
+ message Text_HowMayIServeYou
waitmessage
pokemartdecoration SlateportCity_Decorations3
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox Text_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -464,10 +464,10 @@ SlateportCity_Decorations3:: @ 814BE80
SlateportCity_EventScript_14BE9A:: @ 814BE9A
lock
faceplayer
- message SlateportCity_Text_1A0BE4
+ message Text_HowMayIServeYou
waitmessage
pokemart SlateportCity_Items2
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox Text_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -481,49 +481,49 @@ SlateportCity_Items2:: @ 814BEB4
SlateportCity_EventScript_14BEBC:: @ 814BEBC
lockall
- msgbox SlateportCity_Text_165498, 4
- msgbox SlateportCity_Text_1654E0, 4
+ msgbox SlateportCity_Text_165498, MSGBOX_DEFAULT
+ msgbox SlateportCity_Text_1654E0, MSGBOX_DEFAULT
closemessage
- applymovement 10, SlateportCity_Movement_1A0843
+ applymovement 10, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 10
- applymovement 9, SlateportCity_Movement_1A0845
+ applymovement 9, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
delay 25
applymovement 11, SlateportCity_Movement_14C000
- applymovement 255, SlateportCity_Movement_14C00E
+ applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Movement_14C00E
applymovement 10, SlateportCity_Movement_14BFDD
applymovement 9, SlateportCity_Movement_14BFEA
waitmovement 0
removeobject 10
removeobject 9
- msgbox SlateportCity_Text_16558D, 4
- applymovement 11, SlateportCity_Movement_1A0841
+ msgbox SlateportCity_Text_16558D, MSGBOX_DEFAULT
+ applymovement 11, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- msgbox SlateportCity_Text_1655E7, 4
+ msgbox SlateportCity_Text_1655E7, MSGBOX_DEFAULT
playbgm MUS_EVIL_TEAM, FALSE
- msgbox SlateportCity_Text_1656BC, 4
- applymovement 6, SlateportCity_Movement_1A083F
- applymovement 1, SlateportCity_Movement_1A083F
+ msgbox SlateportCity_Text_1656BC, MSGBOX_DEFAULT
+ applymovement 6, Common_Movement_WalkInPlaceFastestLeft
+ applymovement 1, Common_Movement_WalkInPlaceFastestLeft
applymovement 7, SlateportCity_Movement_14BFCD
- applymovement 3, SlateportCity_Movement_1A0831
+ applymovement 3, Common_Movement_QuestionMark
applymovement 2, SlateportCity_Movement_14BFD5
waitmovement 0
- applymovement 11, SlateportCity_Movement_1A0845
+ applymovement 11, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
- msgbox SlateportCity_Text_16578F, 4
+ msgbox SlateportCity_Text_16578F, MSGBOX_DEFAULT
playse SE_PIN
- applymovement 11, SlateportCity_Movement_1A0833
+ applymovement 11, Common_Movement_ExclamationMark
waitmovement 0
- applymovement 11, SlateportCity_Movement_1A0835
+ applymovement 11, Common_Movement_Delay48
waitmovement 0
- msgbox SlateportCity_Text_1657FA, 4
- applymovement 11, SlateportCity_Movement_1A0839
+ msgbox SlateportCity_Text_1657FA, MSGBOX_DEFAULT
+ applymovement 11, Common_Movement_FacePlayer
waitmovement 0
- msgbox SlateportCity_Text_16583A, 4
+ msgbox SlateportCity_Text_16583A, MSGBOX_DEFAULT
closemessage
applymovement 11, SlateportCity_Movement_14BFFB
- applymovement 255, SlateportCity_Movement_14C008
+ applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Movement_14C008
waitmovement 0
removeobject 11
clearflag FLAG_HIDE_STERN_SLATEPORT_HARBOR
@@ -544,7 +544,7 @@ SlateportCity_Movement_14BFCD:: @ 814BFCD
delay_16
delay_16
walk_in_place_fastest_left
- end_movement
+ step_end
SlateportCity_Movement_14BFD5:: @ 814BFD5
emote_question_mark
@@ -554,7 +554,7 @@ SlateportCity_Movement_14BFD5:: @ 814BFD5
delay_16
delay_16
walk_in_place_fastest_left
- end_movement
+ step_end
SlateportCity_Movement_14BFDD:: @ 814BFDD
delay_16
@@ -569,7 +569,7 @@ SlateportCity_Movement_14BFDD:: @ 814BFDD
walk_left
walk_left
walk_left
- end_movement
+ step_end
SlateportCity_Movement_14BFEA:: @ 814BFEA
walk_down
@@ -585,19 +585,19 @@ SlateportCity_Movement_14BFEA:: @ 814BFEA
walk_left
walk_left
walk_left
- end_movement
+ step_end
@ 814BFF8
walk_down
walk_in_place_fastest_up
- end_movement
+ step_end
SlateportCity_Movement_14BFFB:: @ 814BFFB
walk_right
walk_up
walk_up
set_invisible
- end_movement
+ step_end
SlateportCity_Movement_14C000:: @ 814C000
delay_16
@@ -607,7 +607,7 @@ SlateportCity_Movement_14C000:: @ 814C000
delay_16
walk_down
walk_left
- end_movement
+ step_end
SlateportCity_Movement_14C008:: @ 814C008
walk_in_place_fastest_right
@@ -615,7 +615,7 @@ SlateportCity_Movement_14C008:: @ 814C008
delay_16
walk_right
walk_up
- end_movement
+ step_end
SlateportCity_Movement_14C00E:: @ 814C00E
delay_16
@@ -626,16 +626,16 @@ SlateportCity_Movement_14C00E:: @ 814C00E
delay_16
delay_16
walk_in_place_fastest_down
- end_movement
+ step_end
SlateportCity_EventScript_14C017:: @ 814C017
- msgbox SlateportCity_Text_165425, 3
+ msgbox SlateportCity_Text_165425, MSGBOX_SIGN
end
SlateportCity_EventScript_14C020:: @ 814C020
- msgbox SlateportCity_Text_165458, 3
+ msgbox SlateportCity_Text_165458, MSGBOX_SIGN
end
SlateportCity_EventScript_14C029:: @ 814C029
- msgbox SlateportCity_Text_1647A7, 2
+ msgbox SlateportCity_Text_1647A7, MSGBOX_NPC
end