summaryrefslogtreecommitdiff
path: root/data/maps/SlateportCity_PokemonFanClub/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SlateportCity_PokemonFanClub/scripts.inc')
-rw-r--r--data/maps/SlateportCity_PokemonFanClub/scripts.inc68
1 files changed, 34 insertions, 34 deletions
diff --git a/data/maps/SlateportCity_PokemonFanClub/scripts.inc b/data/maps/SlateportCity_PokemonFanClub/scripts.inc
index b47b7b317..04a86af1f 100644
--- a/data/maps/SlateportCity_PokemonFanClub/scripts.inc
+++ b/data/maps/SlateportCity_PokemonFanClub/scripts.inc
@@ -1,5 +1,5 @@
SlateportCity_PokemonFanClub_MapScripts:: @ 8155764
- map_script 3, SlateportCity_PokemonFanClub_MapScript1_15576A
+ map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_PokemonFanClub_MapScript1_15576A
.byte 0
SlateportCity_PokemonFanClub_MapScript1_15576A:: @ 815576A
@@ -17,7 +17,7 @@ SlateportCity_PokemonFanClub_EventScript_15576B:: @ 815576B
SlateportCity_PokemonFanClub_EventScript_155795:: @ 8155795
setvar VAR_SLATEPORT_FAN_CLUB_STATE, 1
- msgbox SlateportCity_PokemonFanClub_Text_17D773, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17D773, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_155808
end
@@ -32,17 +32,17 @@ SlateportCity_PokemonFanClub_EventScript_1557A8:: @ 81557A8
call_if_eq SlateportCity_PokemonFanClub_EventScript_15588D
compare VAR_SLATEPORT_FAN_CLUB_STATE, 2
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1557FE
- msgbox SlateportCity_PokemonFanClub_Text_17DA14, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA14, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_155808
end
SlateportCity_PokemonFanClub_EventScript_1557FE:: @ 81557FE
- msgbox SlateportCity_PokemonFanClub_Text_17DDD5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DDD5, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155808:: @ 8155808
- msgbox SlateportCity_PokemonFanClub_Text_17DA49, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA49, MSGBOX_DEFAULT
setvar VAR_TEMP_1, 0
call_if_unset FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_1559FE
call_if_unset FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_1559E7
@@ -69,7 +69,7 @@ SlateportCity_PokemonFanClub_EventScript_155893:: @ 8155893
return
SlateportCity_PokemonFanClub_EventScript_155899:: @ 8155899
- msgbox SlateportCity_PokemonFanClub_Text_17DA5C, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA5C, MSGBOX_DEFAULT
release
end
@@ -77,10 +77,10 @@ SlateportCity_PokemonFanClub_EventScript_1558A3:: @ 81558A3
checkitemspace ITEM_RED_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_RED_SCARF
- giveitem_std ITEM_RED_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DC1B, 4
+ giveitem ITEM_RED_SCARF
+ msgbox SlateportCity_PokemonFanClub_Text_17DC1B, MSGBOX_DEFAULT
release
end
@@ -88,10 +88,10 @@ SlateportCity_PokemonFanClub_EventScript_1558D4:: @ 81558D4
checkitemspace ITEM_BLUE_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_BLUE_SCARF
- giveitem_std ITEM_BLUE_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DC74, 4
+ giveitem ITEM_BLUE_SCARF
+ msgbox SlateportCity_PokemonFanClub_Text_17DC74, MSGBOX_DEFAULT
release
end
@@ -99,10 +99,10 @@ SlateportCity_PokemonFanClub_EventScript_155905:: @ 8155905
checkitemspace ITEM_PINK_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_PINK_SCARF
- giveitem_std ITEM_PINK_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DCCB, 4
+ giveitem ITEM_PINK_SCARF
+ msgbox SlateportCity_PokemonFanClub_Text_17DCCB, MSGBOX_DEFAULT
release
end
@@ -110,10 +110,10 @@ SlateportCity_PokemonFanClub_EventScript_155936:: @ 8155936
checkitemspace ITEM_GREEN_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_GREEN_SCARF
- giveitem_std ITEM_GREEN_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DD27, 4
+ giveitem ITEM_GREEN_SCARF
+ msgbox SlateportCity_PokemonFanClub_Text_17DD27, MSGBOX_DEFAULT
release
end
@@ -121,15 +121,15 @@ SlateportCity_PokemonFanClub_EventScript_155967:: @ 8155967
checkitemspace ITEM_YELLOW_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_YELLOW_SCARF
- giveitem_std ITEM_YELLOW_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DD78, 4
+ giveitem ITEM_YELLOW_SCARF
+ msgbox SlateportCity_PokemonFanClub_Text_17DD78, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155998:: @ 8155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB0B, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB0B, MSGBOX_DEFAULT
release
end
@@ -187,7 +187,7 @@ SlateportCity_PokemonFanClub_EventScript_155A15:: @ 8155A15
lock
faceplayer
goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_155A75
- msgbox SlateportCity_PokemonFanClub_Text_17DE6B, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DE6B, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 4
goto_if_ge SlateportCity_PokemonFanClub_EventScript_155A3A
@@ -196,29 +196,29 @@ SlateportCity_PokemonFanClub_EventScript_155A15:: @ 8155A15
SlateportCity_PokemonFanClub_EventScript_155A3A:: @ 8155A3A
playse SE_PIN
- applymovement VAR_LAST_TALKED, SlateportCity_PokemonFanClub_Movement_1A0833
+ applymovement VAR_LAST_TALKED, Common_Movement_ExclamationMark
waitmovement 0
- applymovement VAR_LAST_TALKED, SlateportCity_PokemonFanClub_Movement_1A0835
+ applymovement VAR_LAST_TALKED, Common_Movement_Delay48
waitmovement 0
- msgbox SlateportCity_PokemonFanClub_Text_17DF57, 4
- giveitem_std ITEM_SOOTHE_BELL
+ msgbox SlateportCity_PokemonFanClub_Text_17DF57, MSGBOX_DEFAULT
+ giveitem ITEM_SOOTHE_BELL
compare VAR_RESULT, 0
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_1A029B
+ goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_SOOTHE_BELL
release
end
SlateportCity_PokemonFanClub_EventScript_155A75:: @ 8155A75
- msgbox SlateportCity_PokemonFanClub_Text_17DFB8, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DFB8, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155A7F:: @ 8155A7F
- msgbox SlateportCity_PokemonFanClub_Text_17E03B, 2
+ msgbox SlateportCity_PokemonFanClub_Text_17E03B, MSGBOX_NPC
end
SlateportCity_PokemonFanClub_EventScript_155A88:: @ 8155A88
- msgbox SlateportCity_PokemonFanClub_Text_17E0ED, 2
+ msgbox SlateportCity_PokemonFanClub_Text_17E0ED, MSGBOX_NPC
end
SlateportCity_PokemonFanClub_EventScript_155A91:: @ 8155A91
@@ -226,7 +226,7 @@ SlateportCity_PokemonFanClub_EventScript_155A91:: @ 8155A91
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E14E, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E14E, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -236,7 +236,7 @@ SlateportCity_PokemonFanClub_EventScript_155AA4:: @ 8155AA4
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E164, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E164, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -246,7 +246,7 @@ SlateportCity_PokemonFanClub_EventScript_155AB7:: @ 8155AB7
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E178, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E178, MSGBOX_DEFAULT
waitmoncry
release
end