pokecrystal-board/maps/VictoryRoadGate.asm

129 lines
2.5 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const VICTORYROADGATE_OFFICER
const VICTORYROADGATE_BLACK_BELT1
const VICTORYROADGATE_BLACK_BELT2
2015-07-10 01:45:35 -07:00
VictoryRoadGate_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x9b9fb, 0
dw UnknownScript_0x9b9fc, 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
UnknownScript_0x9b9fb:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9b9fc:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9b9fd:
spriteface PLAYER, LEFT
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x9ba04
2015-07-10 01:45:35 -07:00
OfficerScript_0x9ba03:
faceplayer
2015-07-10 01:45:35 -07:00
UnknownScript_0x9ba04:
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9ba29
2015-11-29 19:29:45 -08:00
buttonsound
checkcode VAR_BADGES
2015-06-25 21:01:08 -07:00
if_greater_than 7, UnknownScript_0x9ba19
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9ba5f
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x9ba27
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9ba19:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x9bab4
2015-11-25 07:16:29 -08:00
waitbutton
closetext
dotrigger $1
end
2015-07-10 01:45:35 -07:00
BlackBeltScript_0x9ba21:
jumptextfaceplayer UnknownText_0x9baf1
2015-07-10 01:45:35 -07:00
BlackBeltScript_0x9ba24:
jumptextfaceplayer UnknownText_0x9bb37
2015-07-10 01:45:35 -07:00
MovementData_0x9ba27:
step_down
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x9ba29:
text "Only trainers who"
line "have proven them-"
cont "selves may pass."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9ba5f:
text "You don't have all"
line "the GYM BADGES of"
cont "JOHTO."
para "I'm sorry, but I"
line "can't let you go"
cont "through."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9bab4:
text "Oh! The eight"
line "BADGES of JOHTO!"
para "Please, go right"
line "on through!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9baf1:
text "This way leads to"
line "MT.SILVER."
para "You'll see scary-"
line "strong #MON out"
cont "there."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x9bb37:
text "Off to the #MON"
line "LEAGUE, are you?"
para "The ELITE FOUR are"
line "so strong it's"
para "scary, and they're"
line "ready for you!"
done
2015-07-10 01:45:35 -07:00
VictoryRoadGate_MapEventHeader:
; filler
db 0, 0
.Warps:
db 8
warp_def $7, $11, 1, ROUTE_22
warp_def $7, $12, 1, ROUTE_22
warp_def $11, $9, 1, ROUTE_26
warp_def $11, $a, 1, ROUTE_26
warp_def $0, $9, 1, VICTORY_ROAD
warp_def $0, $a, 1, VICTORY_ROAD
warp_def $7, $1, 2, ROUTE_28
warp_def $7, $2, 2, ROUTE_28
.XYTriggers:
db 1
xy_trigger 0, $b, $a, $0, UnknownScript_0x9b9fd, $0, $0
.Signposts:
db 0
.PersonEvents:
db 3
person_event SPRITE_OFFICER, 11, 8, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, OfficerScript_0x9ba03, -1
person_event SPRITE_BLACK_BELT, 5, 7, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x9ba21, EVENT_OPENED_MT_SILVER
person_event SPRITE_BLACK_BELT, 5, 12, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x9ba24, EVENT_FOUGHT_SNORLAX