summaryrefslogtreecommitdiff
path: root/data/scripts/day_care.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/day_care.inc')
-rw-r--r--data/scripts/day_care.inc58
1 files changed, 29 insertions, 29 deletions
diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc
index 1e248ba9f..b5b3d4670 100644
--- a/data/scripts/day_care.inc
+++ b/data/scripts/day_care.inc
@@ -1,8 +1,8 @@
Route117_EventScript_1B222D:: @ 81B222D
lock
faceplayer
- special 181
- specialval RESULT, 182
+ special sp0B5_daycare
+ specialval RESULT, sp0B6_daycare
compare RESULT, 1
jumpeq Route117_EventScript_1B2262
compare RESULT, 2
@@ -22,12 +22,12 @@ Route117_EventScript_1B2262:: @ 81B2262
jumpeq Route117_EventScript_1B2298
msgbox Route117_Text_1B2745, 4
clearflag 134
- special 183
+ special sub_8041E7C
release
end
Route117_EventScript_1B2298:: @ 81B2298
- specialval RESULT, 131
+ specialval RESULT, CalculatePlayerPartyCount
compare RESULT, 6
jumpif 5, Route117_EventScript_1B22B2
msgbox Route117_Text_1B2766, 4
@@ -41,13 +41,13 @@ Route117_EventScript_1B22B2:: @ 81B22B2
waittext
waitbutton
msgbox Route117_Text_1B27CD, 4
- special 184
+ special sp0B8_daycare
clearflag 134
release
end
Route117_EventScript_1B22CD:: @ 81B22CD
- specialval RESULT, 195
+ specialval RESULT, sub_8042B4C
compare RESULT, 1
callif 1, Route117_EventScript_1B22DE
return
@@ -57,7 +57,7 @@ Route117_EventScript_1B22DE:: @ 81B22DE
return
Route117_EventScript_1B22E7:: @ 81B22E7
- special 181
+ special sp0B5_daycare
msgbox Route117_Text_1B2710, 4
setvar 0x8004, 0
call Route117_EventScript_1B22CD
@@ -65,10 +65,10 @@ Route117_EventScript_1B22E7:: @ 81B22E7
end
Route117_EventScript_1B22FE:: @ 81B22FE
- special 181
+ special sp0B5_daycare
msgbox Route117_Text_1B2897, 4
- special 185
- special 141
+ special sp0B9_daycare_relationship_comment
+ special ShowFieldMessageStringVar4
waittext
waitbutton
setvar 0x8004, 0
@@ -81,7 +81,7 @@ Route117_EventScript_1B22FE:: @ 81B22FE
Route117_PokemonDayCare_EventScript_1B2327:: @ 81B2327
lock
faceplayer
- specialval RESULT, 182
+ specialval RESULT, sp0B6_daycare
compare RESULT, 1
jumpeq Route117_PokemonDayCare_EventScript_1B2407
compare RESULT, 2
@@ -96,26 +96,26 @@ Route117_PokemonDayCare_EventScript_1B2327:: @ 81B2327
end
Route117_PokemonDayCare_EventScript_1B236C:: @ 81B236C
- specialval RESULT, 132
+ specialval RESULT, sub_8095B6C
compare RESULT, 1
jumpeq Route117_PokemonDayCare_EventScript_1B23F3
msgbox Route117_PokemonDayCare_Text_1B2947, 4
fadescreen 1
- special 188
+ special ChooseSendDaycareMon
waitstate
compare 0x8004, 255
jumpeq Route117_PokemonDayCare_EventScript_1B23D0
- specialval RESULT, 133
+ specialval RESULT, sub_8095C10
compare RESULT, 0
jumpeq Route117_PokemonDayCare_EventScript_1B23FD
- specialval 0x8005, 186
+ specialval 0x8005, sub_8042328
checksound
pokecry 0x8005, 0
msgbox Route117_PokemonDayCare_Text_1B296E, 4
waitpokecry
- special 187
+ special Daycare_SendPokemon_Special
inccounter GAME_STAT_USED_DAYCARE
- specialval RESULT, 182
+ specialval RESULT, sp0B6_daycare
compare RESULT, 2
jumpeq Route117_PokemonDayCare_EventScript_1B23DA
release
@@ -153,7 +153,7 @@ Route117_PokemonDayCare_EventScript_1B2411:: @ 81B2411
return
Route117_PokemonDayCare_EventScript_1B241A:: @ 81B241A
- specialval RESULT, 190
+ specialval RESULT, sub_80417B8
compare RESULT, 0
callif 5, Route117_PokemonDayCare_EventScript_1B2411
return
@@ -172,14 +172,14 @@ Route117_PokemonDayCare_EventScript_1B242B:: @ 81B242B
end
Route117_PokemonDayCare_EventScript_1B2469:: @ 81B2469
- specialval RESULT, 131
+ specialval RESULT, CalculatePlayerPartyCount
compare RESULT, 6
jumpeq Route117_PokemonDayCare_EventScript_1B2539
- specialval RESULT, 182
+ specialval RESULT, sp0B6_daycare
setvar 0x8004, 0
compare RESULT, 2
jumpeq Route117_PokemonDayCare_EventScript_1B24A8
- special 189
+ special ShowDaycareLevelMenu
waitstate
copyvar 0x8004, RESULT
compare RESULT, 2
@@ -188,7 +188,7 @@ Route117_PokemonDayCare_EventScript_1B2469:: @ 81B2469
end
Route117_PokemonDayCare_EventScript_1B24A8:: @ 81B24A8
- special 191
+ special sub_8041770
msgbox Route117_PokemonDayCare_Text_1B2B49, 5
compare RESULT, 1
jumpeq Route117_PokemonDayCare_EventScript_1B24C4
@@ -196,7 +196,7 @@ Route117_PokemonDayCare_EventScript_1B24A8:: @ 81B24A8
end
Route117_PokemonDayCare_EventScript_1B24C4:: @ 81B24C4
- specialval RESULT, 197
+ specialval RESULT, sub_80B7CE8
compare RESULT, 1
jumpeq Route117_PokemonDayCare_EventScript_1B24DE
msgbox Route117_PokemonDayCare_Text_1B2A30, 4
@@ -206,15 +206,15 @@ Route117_PokemonDayCare_EventScript_1B24C4:: @ 81B24C4
Route117_PokemonDayCare_EventScript_1B24DE:: @ 81B24DE
move 1, Route117_PokemonDayCare_Movement_1B2543
waitmove 0
- specialval RESULT, 192
- special 198
+ specialval RESULT, sub_8041648
+ special sub_80B7D0C
playsfx 95
msgbox Route117_PokemonDayCare_Text_1B2B75, 4
checksound
pokecry RESULT, 0
msgbox Route117_PokemonDayCare_Text_1B2B93, 4
waitpokecry
- specialval RESULT, 182
+ specialval RESULT, sp0B6_daycare
compare RESULT, 2
jumpeq Route117_PokemonDayCare_EventScript_1B2520
jump Route117_PokemonDayCare_EventScript_1B23D0
@@ -271,12 +271,12 @@ Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
end
@ 81B2591
- special 189
+ special ShowDaycareLevelMenu
waitstate
compare RESULT, 2
jumpeq Route117_PokemonDayCare_EventScript_1B23D0
copyvar 0x8004, RESULT
- specialval RESULT, 192
+ specialval RESULT, sub_8041648
msgbox Route117_PokemonDayCare_Text_1B2B75, 4
msgbox Route117_PokemonDayCare_Text_1B2A76, 4
release
@@ -285,7 +285,7 @@ Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
Event_EggHatch:: @ 81B25BC
lockall
msgbox UnknownString_81B2C68, 4
- special 194
+ special EggHatch
waitstate
releaseall
end