2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const CHARCOALKILN_BLACK_BELT
|
|
|
|
const CHARCOALKILN_YOUNGSTER
|
|
|
|
const CHARCOALKILN_MOLTRES
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
CharcoalKiln_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnBoss:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_HM01_CUT
|
2015-06-23 12:59:07 -07:00
|
|
|
iftrue .GotCut
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
2015-06-23 12:59:07 -07:00
|
|
|
iftrue .SavedSlowpoke
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext CharcoalKilnBossText1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.SavedSlowpoke:
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext CharcoalKilnBossText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.GotCut:
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext CharcoalKilnBossText3
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnApprentice:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
2015-06-25 21:01:08 -07:00
|
|
|
iftrue .YoureTheCoolest
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_HM01_CUT
|
2015-06-25 21:01:08 -07:00
|
|
|
iftrue .Thanks
|
|
|
|
writetext CharcoalKilnApprenticeText1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Thanks:
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext CharcoalKilnApprenticeText2
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem CHARCOAL
|
2015-06-25 21:01:08 -07:00
|
|
|
iffalse .Done
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.YoureTheCoolest:
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext CharcoalKilnApprenticeText3
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2016-04-10 11:42:14 -07:00
|
|
|
.Done:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnFarfetchd:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-23 12:59:07 -07:00
|
|
|
writetext FarfetchdText
|
2013-02-16 22:54:07 -08:00
|
|
|
cry FARFETCH_D
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnBookshelf:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd MagazineBookshelfScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnRadio:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd Radio2Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnBossText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "All the SLOWPOKE"
|
|
|
|
line "have disappeared"
|
|
|
|
cont "from the town."
|
|
|
|
|
|
|
|
para "The forest's pro-"
|
|
|
|
line "tector may be"
|
|
|
|
cont "angry with us…"
|
|
|
|
|
|
|
|
para "It may be a bad"
|
|
|
|
line "omen. We should"
|
|
|
|
cont "stay in."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnBossText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The SLOWPOKE have"
|
|
|
|
line "returned…"
|
|
|
|
|
|
|
|
para "But my APPRENTICE"
|
|
|
|
line "hasn't come back"
|
|
|
|
cont "from ILEX FOREST."
|
|
|
|
|
|
|
|
para "Where in the world"
|
|
|
|
line "is that lazy guy?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnBossText3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You chased off"
|
|
|
|
line "TEAM ROCKET and"
|
|
|
|
|
|
|
|
para "went to ILEX"
|
|
|
|
line "FOREST alone?"
|
|
|
|
|
|
|
|
para "That takes guts!"
|
|
|
|
line "I like that. Come"
|
|
|
|
cont "train with us."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnApprenticeText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Where have all the"
|
|
|
|
line "SLOWPOKE gone?"
|
|
|
|
|
|
|
|
para "Are they out play-"
|
|
|
|
line "ing somewhere?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnApprenticeText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm sorry--I for-"
|
|
|
|
line "got to thank you."
|
|
|
|
|
|
|
|
para "This is CHARCOAL"
|
|
|
|
line "that I made."
|
|
|
|
|
|
|
|
para "Fire-type #MON"
|
|
|
|
line "would be happy to"
|
|
|
|
cont "hold that."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
CharcoalKilnApprenticeText3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The SLOWPOKE came"
|
|
|
|
line "back, and you even"
|
|
|
|
cont "found FARFETCH'D."
|
|
|
|
|
|
|
|
para "You're the cool-"
|
|
|
|
line "est, man!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-23 12:59:07 -07:00
|
|
|
FarfetchdText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "FARFETCH'D: Kwaa!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
CharcoalKiln_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 2, 7, AZALEA_TOWN, 2
|
|
|
|
warp_event 3, 7, AZALEA_TOWN, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 0, 1, BGEVENT_READ, CharcoalKilnBookshelf
|
|
|
|
bg_event 1, 1, BGEVENT_READ, CharcoalKilnBookshelf
|
|
|
|
bg_event 7, 1, BGEVENT_READ, CharcoalKilnRadio
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 2, 3, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CharcoalKilnBoss, EVENT_CHARCOAL_KILN_BOSS
|
|
|
|
object_event 5, 3, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CharcoalKilnApprentice, EVENT_CHARCOAL_KILN_APPRENTICE
|
|
|
|
object_event 5, 6, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 2, 2, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CharcoalKilnFarfetchd, EVENT_CHARCOAL_KILN_FARFETCH_D
|