pokecrystal/maps/PalletTown.asm

96 lines
1.7 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const PALLETTOWN_TEACHER
const PALLETTOWN_FISHER
2015-06-26 05:30:16 +00:00
PalletTown_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_PALLET
return
2017-12-18 00:48:04 +00:00
PalletTownTeacherScript:
jumptextfaceplayer PalletTownTeacherText
2017-12-18 00:48:04 +00:00
PalletTownFisherScript:
jumptextfaceplayer PalletTownFisherText
2015-06-26 05:30:16 +00:00
PalletTownSign:
jumptext PalletTownSignText
2015-06-26 05:30:16 +00:00
RedsHouseSign:
jumptext RedsHouseSignText
2015-06-26 05:30:16 +00:00
OaksLabSign:
jumptext OaksLabSignText
2015-06-26 05:30:16 +00:00
BluesHouseSign:
jumptext BluesHouseSignText
2017-12-18 00:48:04 +00:00
PalletTownTeacherText:
text "I'm raising #-"
line "MON too."
para "They serve as my"
line "private guards."
done
2017-12-18 00:48:04 +00:00
PalletTownFisherText:
text "Technology is"
line "incredible!"
para "You can now trade"
line "#MON across"
cont "time like e-mail."
done
2015-06-26 05:30:16 +00:00
PalletTownSignText:
text "PALLET TOWN"
para "A Tranquil Setting"
line "of Peace & Purity"
done
2015-06-26 05:30:16 +00:00
RedsHouseSignText:
text "RED'S HOUSE"
done
2015-06-26 05:30:16 +00:00
OaksLabSignText:
text "OAK #MON"
line "RESEARCH LAB"
done
2015-06-26 05:30:16 +00:00
BluesHouseSignText:
text "BLUE'S HOUSE"
done
2015-06-26 05:30:16 +00:00
PalletTown_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $5, $5, 1, REDS_HOUSE_1F
warp_def $5, $d, 1, BLUES_HOUSE
warp_def $b, $c, 1, OAKS_LAB
.CoordEvents:
db 0
.BGEvents:
db 4
bg_event 9, 7, BGEVENT_READ, PalletTownSign
bg_event 5, 3, BGEVENT_READ, RedsHouseSign
bg_event 13, 13, BGEVENT_READ, OaksLabSign
bg_event 5, 11, BGEVENT_READ, BluesHouseSign
.ObjectEvents:
db 2
object_event SPRITE_TEACHER, 8, 3, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PalletTownTeacherScript, -1
object_event SPRITE_FISHER, 14, 12, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PalletTownFisherScript, -1