2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const ROUTE34ILEXFORESTGATE_TEACHER1
|
|
|
|
const ROUTE34ILEXFORESTGATE_BUTTERFREE
|
|
|
|
const ROUTE34ILEXFORESTGATE_LASS
|
|
|
|
const ROUTE34ILEXFORESTGATE_TEACHER2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route34IlexForestGate_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2022-07-29 14:43:10 -07:00
|
|
|
scene_const SCENE_ROUTE34ILEXFORESTGATE_TEACHER_BLOCKS_IF_FOREST_IS_RESTLESS
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2022-08-09 15:04:18 -07:00
|
|
|
callback MAPCALLBACK_OBJECTS, Route34IsForestRestlessCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
Route34IsForestRestlessCallback:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_FOREST_IS_RESTLESS
|
2017-12-10 14:53:21 -08:00
|
|
|
iffalse .Normal
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear ROUTE34ILEXFORESTGATE_TEACHER1
|
|
|
|
appear ROUTE34ILEXFORESTGATE_TEACHER2
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.Normal:
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear ROUTE34ILEXFORESTGATE_TEACHER2
|
|
|
|
appear ROUTE34ILEXFORESTGATE_TEACHER1
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-02 09:04:55 -08:00
|
|
|
Route34IlexForestGateCelebiEvent:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_FOREST_IS_RESTLESS
|
2018-02-02 09:04:55 -08:00
|
|
|
iffalse .skip
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, ROUTE34ILEXFORESTGATE_TEACHER2, 20
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
|
|
|
|
turnobject PLAYER, RIGHT
|
2015-11-26 21:22:14 -08:00
|
|
|
follow PLAYER, ROUTE34ILEXFORESTGATE_TEACHER2
|
2021-02-05 09:44:21 -08:00
|
|
|
applymovement PLAYER, Route34IlexForestGateTeacherBlocksPlayerMovement
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, DOWN
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route34IlexForestGateTeacher_ForestIsRestless
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2021-02-05 09:44:21 -08:00
|
|
|
applymovement ROUTE34ILEXFORESTGATE_TEACHER2, Route34IlexForestGateTeacherReturnsMovement
|
2018-02-02 09:04:55 -08:00
|
|
|
.skip:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateTeacherScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_FOREST_IS_RESTLESS
|
2018-02-02 09:04:55 -08:00
|
|
|
iftrue .ForestIsRestless
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM12_SWEET_SCENT
|
2018-02-02 09:04:55 -08:00
|
|
|
iftrue .GotSweetScent
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route34IlexForestGateTeacherText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem TM_SWEET_SCENT
|
2018-02-02 09:04:55 -08:00
|
|
|
iffalse .NoRoom
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM12_SWEET_SCENT
|
2018-02-02 09:04:55 -08:00
|
|
|
.GotSweetScent:
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route34IlexForestGateTeacher_GotSweetScent
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2018-02-02 09:04:55 -08:00
|
|
|
.NoRoom:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-02 09:04:55 -08:00
|
|
|
.ForestIsRestless:
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route34IlexForestGateTeacher_ForestIsRestless
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateButterfreeScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route34IlexForestGateButterfreeText
|
2013-02-16 22:54:07 -08:00
|
|
|
cry BUTTERFREE
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
Route34IlexForestGateLassScript:
|
|
|
|
jumptextfaceplayer Route34IlexForestGateLassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2021-02-05 09:44:21 -08:00
|
|
|
Route34IlexForestGateTeacherBlocksPlayerMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2021-02-05 09:44:21 -08:00
|
|
|
Route34IlexForestGateTeacherReturnsMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateTeacherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, honey. You're"
|
|
|
|
line "making a #DEX?"
|
|
|
|
|
|
|
|
para "It must be hard if"
|
|
|
|
line "#MON won't"
|
|
|
|
|
|
|
|
para "appear. Try using"
|
|
|
|
line "this TM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateTeacher_GotSweetScent:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's SWEET SCENT."
|
|
|
|
|
|
|
|
para "Use it wherever"
|
|
|
|
line "#MON appear."
|
|
|
|
|
|
|
|
para "#MON will be"
|
|
|
|
line "enticed by it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateTeacher_ForestIsRestless:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Something's wrong"
|
|
|
|
line "in ILEX FOREST…"
|
|
|
|
|
|
|
|
para "You should stay"
|
|
|
|
line "away right now."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route34IlexForestGateButterfreeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BUTTERFREE: Freeh!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
Route34IlexForestGateLassText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Did you see the"
|
|
|
|
line "shrine honoring"
|
|
|
|
cont "the protector?"
|
|
|
|
|
|
|
|
para "It watches over"
|
|
|
|
line "the FOREST from"
|
|
|
|
cont "across time."
|
|
|
|
|
|
|
|
para "I think that it"
|
|
|
|
line "must be a grass-"
|
|
|
|
cont "type #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route34IlexForestGate_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 4, 0, ROUTE_34, 1
|
|
|
|
warp_event 5, 0, ROUTE_34, 2
|
|
|
|
warp_event 4, 7, ILEX_FOREST, 1
|
|
|
|
warp_event 5, 7, ILEX_FOREST, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2022-07-29 14:43:10 -07:00
|
|
|
coord_event 4, 7, SCENE_ROUTE34ILEXFORESTGATE_TEACHER_BLOCKS_IF_FOREST_IS_RESTLESS, Route34IlexForestGateCelebiEvent
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 9, 3, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateTeacherScript, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_BEHIND_COUNTER
|
|
|
|
object_event 9, 4, SPRITE_BUTTERFREE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateButterfreeScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 3, 4, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateLassScript, EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 5, 7, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateTeacherScript, EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY
|