mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
69 lines
1.3 KiB
NASM
69 lines
1.3 KiB
NASM
const_value set 2
|
|
const ROUTE30BERRYSPEECHHOUSE_POKEFAN_M
|
|
|
|
Route30BerrySpeechHouse_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
PokefanMScript_0x196d64:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
|
iftrue UnknownScript_0x196d79
|
|
writetext UnknownText_0x196d82
|
|
buttonsound
|
|
verbosegiveitem BERRY
|
|
iffalse UnknownScript_0x196d7d
|
|
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
|
UnknownScript_0x196d79:
|
|
writetext UnknownText_0x196dec
|
|
waitbutton
|
|
UnknownScript_0x196d7d:
|
|
closetext
|
|
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
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 2
|
|
bg_event 1, 0, BGEVENT_READ, Route30BerrySpeechHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, Route30BerrySpeechHouseBookshelf
|
|
|
|
.ObjectEvents:
|
|
db 1
|
|
object_event SPRITE_POKEFAN_M, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanMScript_0x196d64, -1
|