pokecrystal/maps/PalletTown.asm

94 lines
1.6 KiB
NASM
Raw Normal View History

2015-06-26 05:30:16 +00:00
PalletTown_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-06-26 05:30:16 +00:00
dbw 5, .FlyPoint
2015-06-26 05:30:16 +00:00
.FlyPoint
setflag ENGINE_FLYPOINT_PALLET
return
2015-06-26 05:30:16 +00:00
TeacherScript_0x1ac6d5:
jumptextfaceplayer UnknownText_0x1ac6e7
2015-06-26 05:30:16 +00:00
FisherScript_0x1ac6d8:
jumptextfaceplayer UnknownText_0x1ac720
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
2015-06-26 05:30:16 +00:00
UnknownText_0x1ac6e7:
text "I'm raising #-"
line "MON too."
para "They serve as my"
line "private guards."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x1ac720:
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, GROUP_REDS_HOUSE_1F, MAP_REDS_HOUSE_1F
warp_def $5, $d, 1, GROUP_BLUES_HOUSE, MAP_BLUES_HOUSE
warp_def $b, $c, 1, GROUP_OAKS_LAB, MAP_OAKS_LAB
; xy triggers
db 0
; signposts
db 4
signpost 9, 7, SIGNPOST_READ, PalletTownSign
signpost 5, 3, SIGNPOST_READ, RedsHouseSign
signpost 13, 13, SIGNPOST_READ, OaksLabSign
signpost 5, 11, SIGNPOST_READ, BluesHouseSign
; people-events
db 2
person_event SPRITE_TEACHER, 12, 7, DOWN << 2 | $2, $22, -1, -1, $0, 0, TeacherScript_0x1ac6d5, -1
person_event SPRITE_FISHER, 18, 16, UP << 2 | $1, $2, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, FisherScript_0x1ac6d8, -1