pokecrystal/maps/CharcoalKiln.asm

174 lines
3.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const CHARCOALKILN_BLACK_BELT
const CHARCOALKILN_YOUNGSTER
const CHARCOALKILN_MOLTRES
2015-06-26 04:01:08 +00:00
CharcoalKiln_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-06-26 04:01:08 +00:00
CharcoalKilnBoss:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_HM01_CUT
2015-06-23 19:59:07 +00:00
iftrue .GotCut
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_SLOWPOKE_WELL
2015-06-23 19:59:07 +00:00
iftrue .SavedSlowpoke
2015-06-26 04:01:08 +00:00
writetext CharcoalKilnBossText1
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.SavedSlowpoke:
2015-06-26 04:01:08 +00:00
writetext CharcoalKilnBossText2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.GotCut:
2015-06-26 04:01:08 +00:00
writetext CharcoalKilnBossText3
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
CharcoalKilnApprentice:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
2015-06-26 04:01:08 +00:00
iftrue .YoureTheCoolest
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_HM01_CUT
2015-06-26 04:01:08 +00:00
iftrue .Thanks
writetext CharcoalKilnApprenticeText1
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.Thanks:
2015-06-26 04:01:08 +00:00
writetext CharcoalKilnApprenticeText2
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem CHARCOAL
2015-06-26 04:01:08 +00:00
iffalse .Done
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
2015-11-25 15:16:29 +00:00
closetext
end
.YoureTheCoolest:
2015-06-26 04:01:08 +00:00
writetext CharcoalKilnApprenticeText3
2015-11-25 15:16:29 +00:00
waitbutton
.Done:
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
CharcoalKilnFarfetchd:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-06-23 19:59:07 +00:00
writetext FarfetchdText
cry FARFETCH_D
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
CharcoalKilnBookshelf:
jumpstd magazinebookshelf
2015-06-26 04:01:08 +00:00
CharcoalKilnRadio:
2015-06-23 21:02:58 +00:00
jumpstd radio2
2015-06-26 04:01:08 +00:00
CharcoalKilnBossText1:
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
2015-06-26 04:01:08 +00:00
CharcoalKilnBossText2:
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
2015-06-26 04:01:08 +00:00
CharcoalKilnBossText3:
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
2015-06-26 04:01:08 +00:00
CharcoalKilnApprenticeText1:
text "Where have all the"
line "SLOWPOKE gone?"
para "Are they out play-"
line "ing somewhere?"
done
2015-06-26 04:01:08 +00:00
CharcoalKilnApprenticeText2:
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
2015-06-26 04:01:08 +00:00
CharcoalKilnApprenticeText3:
text "The SLOWPOKE came"
line "back, and you even"
cont "found FARFETCH'D."
para "You're the cool-"
line "est, man!"
done
2015-06-23 19:59:07 +00:00
FarfetchdText:
text "FARFETCH'D: Kwaa!"
done
2015-07-10 08:45:35 +00:00
CharcoalKiln_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 2, AZALEA_TOWN
warp_def $7, $3, 2, AZALEA_TOWN
.XYTriggers:
db 0
.Signposts:
db 3
signpost 1, 0, SIGNPOST_READ, CharcoalKilnBookshelf
signpost 1, 1, SIGNPOST_READ, CharcoalKilnBookshelf
signpost 1, 7, SIGNPOST_READ, CharcoalKilnRadio
.PersonEvents:
db 3
person_event SPRITE_BLACK_BELT, 3, 2, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CharcoalKilnBoss, EVENT_CHARCOAL_KILN_BOSS
person_event SPRITE_YOUNGSTER, 3, 5, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CharcoalKilnApprentice, EVENT_CHARCOAL_KILN_APPRENTICE
2017-12-11 01:50:08 +00:00
person_event SPRITE_MOLTRES, 6, 5, SPRITEMOVEDATA_POKEMON, 2, 2, -1, -1, PAL_NPC_BROWN, PERSONTYPE_SCRIPT, 0, CharcoalKilnFarfetchd, EVENT_CHARCOAL_KILN_FARFETCH_D