mirror of https://github.com/pret/pokecrystal.git
149 lines
3.2 KiB
NASM
149 lines
3.2 KiB
NASM
const_def 2 ; object constants
|
|
const ROUTE3_FISHER1
|
|
const ROUTE3_YOUNGSTER1
|
|
const ROUTE3_YOUNGSTER2
|
|
const ROUTE3_FISHER2
|
|
|
|
Route3_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
TrainerFirebreatherOtis:
|
|
trainer FIREBREATHER, OTIS, EVENT_BEAT_FIREBREATHER_OTIS, FirebreatherOtisSeenText, FirebreatherOtisBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext FirebreatherOtisAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerYoungsterWarren:
|
|
trainer YOUNGSTER, WARREN, EVENT_BEAT_YOUNGSTER_WARREN, YoungsterWarrenSeenText, YoungsterWarrenBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext YoungsterWarrenAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerYoungsterJimmy:
|
|
trainer YOUNGSTER, JIMMY, EVENT_BEAT_YOUNGSTER_JIMMY, YoungsterJimmySeenText, YoungsterJimmyBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext YoungsterJimmyAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerFirebreatherBurt:
|
|
trainer FIREBREATHER, BURT, EVENT_BEAT_FIREBREATHER_BURT, FirebreatherBurtSeenText, FirebreatherBurtBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext FirebreatherBurtAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
Route3MtMoonSquareSign:
|
|
jumptext Route3MtMoonSquareSignText
|
|
|
|
FirebreatherOtisSeenText:
|
|
text "Ah! The weather's"
|
|
line "as fine as ever."
|
|
done
|
|
|
|
FirebreatherOtisBeatenText:
|
|
text "It's sunny, but"
|
|
line "I'm all wet…"
|
|
done
|
|
|
|
FirebreatherOtisAfterBattleText:
|
|
text "When it rains,"
|
|
line "it's hard to get"
|
|
cont "ignition…"
|
|
done
|
|
|
|
YoungsterWarrenSeenText:
|
|
text "Hmmm… I don't know"
|
|
line "what to do…"
|
|
done
|
|
|
|
YoungsterWarrenBeatenText:
|
|
text "I knew I'd lose…"
|
|
done
|
|
|
|
YoungsterWarrenAfterBattleText:
|
|
text "You looked strong."
|
|
|
|
para "I was afraid to"
|
|
line "take you on…"
|
|
done
|
|
|
|
YoungsterJimmySeenText:
|
|
text "I can run like the"
|
|
line "wind!"
|
|
done
|
|
|
|
YoungsterJimmyBeatenText:
|
|
text "Blown away!"
|
|
done
|
|
|
|
YoungsterJimmyAfterBattleText:
|
|
text "I wear shorts the"
|
|
line "whole year round."
|
|
|
|
para "That's my fashion"
|
|
line "policy."
|
|
done
|
|
|
|
FirebreatherBurtSeenText:
|
|
text "Step right up and"
|
|
line "take a look!"
|
|
done
|
|
|
|
FirebreatherBurtBeatenText:
|
|
text "Yow! That's hot!"
|
|
done
|
|
|
|
FirebreatherBurtAfterBattleText:
|
|
text "The greatest fire-"
|
|
line "breather in KANTO,"
|
|
cont "that's me."
|
|
|
|
para "But not the best"
|
|
line "trainer…"
|
|
done
|
|
|
|
Route3MtMoonSquareSignText:
|
|
text "MT.MOON SQUARE"
|
|
|
|
para "Just go up the"
|
|
line "stairs."
|
|
done
|
|
|
|
Route3_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 1 ; warp events
|
|
warp_event 52, 1, MOUNT_MOON, 1
|
|
|
|
db 0 ; coord events
|
|
|
|
db 1 ; bg events
|
|
bg_event 49, 13, BGEVENT_READ, Route3MtMoonSquareSign
|
|
|
|
db 4 ; object events
|
|
object_event 26, 12, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerFirebreatherOtis, -1
|
|
object_event 10, 7, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerYoungsterWarren, -1
|
|
object_event 16, 3, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerYoungsterJimmy, -1
|
|
object_event 49, 5, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerFirebreatherBurt, -1
|