pokecrystal-board/maps/GoldenrodPPSpeechHouse.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

76 lines
1.6 KiB
NASM

const_value set 2
const GOLDENRODPPSPEECHHOUSE_FISHER
const GOLDENRODPPSPEECHHOUSE_LASS
GoldenrodPPSpeechHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
GoldenrodPPSpeechHouseFisherScript:
jumptextfaceplayer GoldenrodPPSpeechHouseFisherText
GoldenrodPPSpeechHouseLassScript:
jumptextfaceplayer GoldenrodPPSpeechHouseLassText
GoldenrodPPSpeechHouseBookshelf2:
jumpstd difficultbookshelf
GoldenrodPPSpeechHouseBookshelf1:
jumpstd magazinebookshelf
GoldenrodPPSpeechHouseRadio:
jumpstd radio2
GoldenrodPPSpeechHouseFisherText:
text "Once while I was"
line "battling, my"
para "#MON couldn't"
line "make any moves."
para "The POWER POINTS,"
line "or PP, of its"
para "moves were all"
line "gone."
done
GoldenrodPPSpeechHouseLassText:
text "Sometimes, a"
line "healthy #MON"
para "may be unable to"
line "use its moves."
para "If that happens,"
line "heal it at a #-"
cont "MON CENTER or use"
cont "an item."
done
GoldenrodPPSpeechHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 7, GOLDENROD_CITY
warp_def $7, $3, 7, GOLDENROD_CITY
.CoordEvents:
db 0
.BGEvents:
db 3
bg_event 1, 0, BGEVENT_READ, GoldenrodPPSpeechHouseBookshelf1
bg_event 1, 1, BGEVENT_READ, GoldenrodPPSpeechHouseBookshelf2
bg_event 1, 7, BGEVENT_READ, GoldenrodPPSpeechHouseRadio
.ObjectEvents:
db 2
object_event SPRITE_FISHER, 4, 2, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodPPSpeechHouseFisherScript, -1
object_event SPRITE_LASS, 3, 5, SPRITEMOVEDATA_STANDING_LEFT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodPPSpeechHouseLassScript, -1