mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
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
181 lines
3.0 KiB
NASM
181 lines
3.0 KiB
NASM
EcruteakItemfinderHouse_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
CooltrainerMScript_0x9a5fb:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_GOT_ITEMFINDER
|
|
iftrue UnknownScript_0x9a614
|
|
writetext UnknownText_0x9a63c
|
|
yesorno
|
|
iffalse UnknownScript_0x9a61a
|
|
writetext UnknownText_0x9a6b5
|
|
keeptextopen
|
|
verbosegiveitem ITEMFINDER, 1
|
|
setevent EVENT_GOT_ITEMFINDER
|
|
UnknownScript_0x9a614:
|
|
writetext UnknownText_0x9a70e
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x9a61a:
|
|
writetext UnknownText_0x9a805
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
PokedexScript_0x9a620:
|
|
loadfont
|
|
writetext UnknownText_0x9a826
|
|
yesorno
|
|
iftrue UnknownScript_0x9a62a
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x9a62a:
|
|
writetext UnknownText_0x9a84c
|
|
yesorno
|
|
iftrue UnknownScript_0x9a633
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x9a633:
|
|
writetext UnknownText_0x9a902
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
ItemFinderHouseRadio:
|
|
jumpstd radio2
|
|
|
|
UnknownText_0x9a63c:
|
|
text "Ah. You're on an"
|
|
line "adventure with"
|
|
cont "your #MON?"
|
|
|
|
para "Well, what's an"
|
|
line "adventure without"
|
|
cont "treasure hunting?"
|
|
|
|
para "Am I right, or am"
|
|
line "I right?"
|
|
done
|
|
|
|
UnknownText_0x9a6b5:
|
|
text "Good! You under-"
|
|
line "stand the true"
|
|
|
|
para "spirit of adven-"
|
|
line "ture."
|
|
|
|
para "I like that! Take"
|
|
line "this with you."
|
|
done
|
|
|
|
UnknownText_0x9a70e:
|
|
text "There are many"
|
|
line "items lying about"
|
|
|
|
para "that aren't ob-"
|
|
line "vious."
|
|
|
|
para "Use ITEMFINDER to"
|
|
line "check if there is"
|
|
|
|
para "an item on the"
|
|
line "ground near you."
|
|
|
|
para "It doesn't show"
|
|
line "the exact spot,"
|
|
|
|
para "so you'll have to"
|
|
line "look yourself."
|
|
|
|
para "Oh yeah--I heard"
|
|
line "there are items"
|
|
|
|
para "in ECRUTEAK's"
|
|
line "BURNED TOWER."
|
|
done
|
|
|
|
UnknownText_0x9a805:
|
|
text "Oh… To each his"
|
|
line "own, I suppose…"
|
|
done
|
|
|
|
UnknownText_0x9a826:
|
|
text "HISTORY OF"
|
|
line "ECRUTEAK"
|
|
|
|
para "Want to read it?"
|
|
done
|
|
|
|
UnknownText_0x9a84c:
|
|
text "In ECRUTEAK, there"
|
|
line "were two towers."
|
|
|
|
para "Each tower was the"
|
|
line "roost of powerful"
|
|
cont "flying #MON."
|
|
|
|
para "But one of the"
|
|
line "towers burned to"
|
|
cont "the ground."
|
|
|
|
para "The two #MON"
|
|
line "haven't been seen"
|
|
cont "since…"
|
|
|
|
para "Keep reading?"
|
|
done
|
|
|
|
UnknownText_0x9a902:
|
|
text "ECRUTEAK was also"
|
|
line "home to three"
|
|
|
|
para "#MON that raced"
|
|
line "around the town."
|
|
|
|
para "They were said to"
|
|
line "have been born of"
|
|
|
|
para "water, lightning"
|
|
line "and fire."
|
|
|
|
para "But they could not"
|
|
line "contain their"
|
|
cont "excessive power."
|
|
|
|
para "So they say the"
|
|
line "three ran like the"
|
|
|
|
para "wind off into the"
|
|
line "grassland."
|
|
done
|
|
|
|
EcruteakItemfinderHouse_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $3, 11, ECRUTEAK_CITY
|
|
warp_def $7, $4, 11, ECRUTEAK_CITY
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 1, 2, SIGNPOST_READ, ItemFinderHouseRadio
|
|
|
|
.PersonEvents:
|
|
db 2
|
|
person_event SPRITE_COOLTRAINER_M, 7, 6, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x9a5fb, -1
|
|
person_event SPRITE_POKEDEX, 7, 7, OW_DOWN | $1, $0, -1, -1, $0, 0, PokedexScript_0x9a620, -1
|