pokecrystal-board/maps/Route30BerrySpeechHouse.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro

Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme

Added new macro elevfloor to simplify the definition of elevators under this new scheme
2015-07-23 12:59:19 -04:00

66 lines
1.2 KiB
NASM

Route30BerrySpeechHouse_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
PokefanMScript_0x196d64:
faceplayer
loadfont
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
iftrue UnknownScript_0x196d79
writetext UnknownText_0x196d82
keeptextopen
verbosegiveitem BERRY, 1
iffalse UnknownScript_0x196d7d
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
UnknownScript_0x196d79:
writetext UnknownText_0x196dec
closetext
UnknownScript_0x196d7d:
loadmovesprites
end
Route30BerrySpeechHouseBookshelf:
jumpstd magazinebookshelf
UnknownText_0x196d82:
text "You know, #MON"
line "eat BERRIES."
para "Well, my #MON"
line "got healthier by"
cont "eating a BERRY."
para "Here. I'll share"
line "one with you!"
done
UnknownText_0x196dec:
text "Check trees for"
line "BERRIES. They just"
cont "drop right off."
done
Route30BerrySpeechHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 1, ROUTE_30
warp_def $7, $3, 1, ROUTE_30
.XYTriggers:
db 0
.Signposts:
db 2
signpost 1, 0, SIGNPOST_READ, Route30BerrySpeechHouseBookshelf
signpost 1, 1, SIGNPOST_READ, Route30BerrySpeechHouseBookshelf
.PersonEvents:
db 1
person_event SPRITE_POKEFAN_M, 7, 6, OW_UP | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, PokefanMScript_0x196d64, -1