2017-11-10 02:21:31 +01:00
|
|
|
InsideOfTruck_MapScripts:: @ 823BEDA
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, InsideOfTruck_MapScript1_23BEE5
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, InsideOfTruck_MapScript1_23BF01
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
InsideOfTruck_MapScript1_23BEE5: @ 823BEE5
|
|
|
|
setmetatile 4, 1, 520, 0
|
|
|
|
setmetatile 4, 2, 528, 0
|
|
|
|
setmetatile 4, 3, 536, 0
|
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_MapScript1_23BF01: @ 823BF01
|
|
|
|
setstepcallback 5
|
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_EventScript_23BF04:: @ 823BF04
|
|
|
|
lockall
|
|
|
|
setflag FLAG_SPECIAL_FLAG_0x4000
|
|
|
|
checkplayergender
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, MALE
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq InsideOfTruck_EventScript_23BF20
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, FEMALE
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq InsideOfTruck_EventScript_23BF46
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_EventScript_23BF20:: @ 823BF20
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_LITTLEROOT_INTRO_STATE, 1
|
2018-10-18 21:28:59 +02:00
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MOM
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_TRUCK
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_MOM
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_SIBLING
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 1
|
2018-06-15 05:00:09 +02:00
|
|
|
setdynamicwarp MAP_LITTLEROOT_TOWN, 255, 3, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_EventScript_23BF46:: @ 823BF46
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_LITTLEROOT_INTRO_STATE, 2
|
2018-10-18 21:28:59 +02:00
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_MOM
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_TRUCK
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_MOM
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_SIBLING
|
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_LITTLEROOT_HOUSES_STATE, 1
|
2018-06-15 05:00:09 +02:00
|
|
|
setdynamicwarp MAP_LITTLEROOT_TOWN, 255, 12, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_EventScript_23BF6C:: @ 823BF6C
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox InsideOfTruck_Text_23BF75, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
InsideOfTruck_Text_23BF75: @ 823BF75
|
|
|
|
.string "The box is printed with a POKéMON logo.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's a POKéMON brand moving and\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "delivery service.$"
|
|
|
|
|