pokecrystal/maps/CharcoalKiln.asm

177 lines
3.1 KiB
NASM
Raw Normal View History

CharcoalKiln_MapScriptHeader: ; 0x18dd18
; trigger count
db 0
; callback count
db 0
2015-06-23 19:59:07 +00:00
BossScript:
faceplayer
loadfont
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
writetext BossSlowpokeText
closetext
loadmovesprites
end
2015-06-23 19:59:07 +00:00
.SavedSlowpoke
writetext BossForestText
closetext
loadmovesprites
end
2015-06-23 19:59:07 +00:00
.GotCut
writetext BossText
closetext
loadmovesprites
end
2015-06-23 19:59:07 +00:00
ApprenticeScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
iftrue UnknownScript_0x18dd5d
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_HM01_CUT
iftrue UnknownScript_0x18dd4e
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18dee0
closetext
loadmovesprites
end
UnknownScript_0x18dd4e: ; 0x18dd4e
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18df25
keeptextopen
verbosegiveitem CHARCOAL, 1
iffalse UnknownScript_0x18dd61
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
loadmovesprites
end
; 0x18dd5d
UnknownScript_0x18dd5d: ; 0x18dd5d
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18df93
closetext
UnknownScript_0x18dd61: ; 0x18dd61
loadmovesprites
end
; 0x18dd63
2015-06-23 19:59:07 +00:00
FarfetchdScript:
faceplayer
loadfont
2015-06-23 19:59:07 +00:00
writetext FarfetchdText
cry FARFETCH_D
closetext
loadmovesprites
end
MapCharcoalKilnSignpost1Script: ; 0x18dd6e
jumpstd $0003
; 0x18dd71
MapCharcoalKilnSignpost2Script: ; 0x18dd71
jumpstd $000c
; 0x18dd74
2015-06-23 19:59:07 +00:00
BossSlowpokeText:
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-23 19:59:07 +00:00
BossForestText:
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-23 19:59:07 +00:00
BossText:
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
; 0x18dee0
UnknownText_0x18dee0: ; 0x18dee0
text "Where have all the"
line "SLOWPOKE gone?"
para "Are they out play-"
line "ing somewhere?"
done
; 0x18df25
UnknownText_0x18df25: ; 0x18df25
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
; 0x18df93
UnknownText_0x18df93: ; 0x18df93
text "The SLOWPOKE came"
line "back, and you even"
cont "found FARFETCH'D."
para "You're the cool-"
line "est, man!"
done
; 0x18dfe5
2015-06-23 19:59:07 +00:00
FarfetchdText:
text "FARFETCH'D: Kwaa!"
done
CharcoalKiln_MapEventHeader: ; 0x18dff8
; filler
db 0, 0
; warps
db 2
warp_def $7, $2, 2, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $7, $3, 2, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
; xy triggers
db 0
; signposts
db 3
signpost 1, 0, $0, MapCharcoalKilnSignpost1Script
signpost 1, 1, $0, MapCharcoalKilnSignpost1Script
signpost 1, 7, $0, MapCharcoalKilnSignpost2Script
; people-events
db 3
2015-06-23 19:59:07 +00:00
person_event SPRITE_BLACK_BELT, 7, 6, $3, $0, 255, 255, $0, 0, BossScript, $06f7
person_event SPRITE_YOUNGSTER, 7, 9, $2, $11, 255, 255, $0, 0, ApprenticeScript, $06f6
person_event SPRITE_MOLTRES, 10, 9, $16, $22, 255, 255, $b0, 0, FarfetchdScript, $06f5