pokecrystal-board/maps/KarensRoom.asm

160 lines
2.7 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const KARENSROOM_KAREN
2015-07-10 01:20:21 -07:00
KarensRoom_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x180bbc, 0
dw UnknownScript_0x180bc0, 0
.MapCallbacks:
db 1
; callbacks
dbw 1, UnknownScript_0x180bc1
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bbc:
priorityjump UnknownScript_0x180bd6
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bc0:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bc1:
2013-09-24 00:48:58 -07:00
checkevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
iffalse UnknownScript_0x180bcb
changeblock $4, $e, $2a
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bcb:
2013-09-24 00:48:58 -07:00
checkevent EVENT_KARENS_ROOM_EXIT_OPEN
iffalse UnknownScript_0x180bd5
changeblock $4, $2, $16
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bd5:
return
2015-07-10 01:20:21 -07:00
UnknownScript_0x180bd6:
applymovement PLAYER, MovementData_0x180c22
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
changeblock $4, $e, $2a
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
dotrigger $1
2013-09-24 00:48:58 -07:00
setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
2015-11-25 07:16:29 -08:00
waitsfx
end
2015-07-10 01:20:21 -07:00
KarenScript_0x180bee:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_ELITE_4_KAREN
iftrue UnknownScript_0x180c1c
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x180c27
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x180cf8, 0
2015-11-25 07:16:29 -08:00
scriptedtrainerdata KAREN, 1
startbattle
returnafterbattle
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_ELITE_4_KAREN
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x180d29
2015-11-25 07:16:29 -08:00
waitbutton
closetext
playsound SFX_ENTER_DOOR
changeblock $4, $2, $16
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_KARENS_ROOM_EXIT_OPEN
2015-11-25 07:16:29 -08:00
waitsfx
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x180c1c:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x180d29
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
MovementData_0x180c22:
step_up
step_up
step_up
step_up
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x180c27:
text "I am KAREN of the"
line "ELITE FOUR."
para "You're <PLAYER>?"
line "How amusing."
para "I love dark-type"
line "#MON."
para "I find their wild,"
line "tough image to be"
para "so appealing. And"
line "they're so strong."
para "Think you can take"
line "them? Just try to"
cont "entertain me."
para "Let's go."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x180cf8:
text "Well, aren't you"
line "good. I like that"
cont "in a trainer."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x180d29:
text "Strong #MON."
para "Weak #MON."
para "That is only the"
line "selfish perception"
cont "of people."
para "Truly skilled"
line "trainers should"
para "try to win with"
line "their favorites."
para "I like your style."
line "You understand"
cont "what's important."
para "Go on--the CHAM-"
line "PION is waiting."
done
2015-07-10 01:20:21 -07:00
KarensRoom_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $11, $4, 3, BRUNOS_ROOM
warp_def $11, $5, 4, BRUNOS_ROOM
warp_def $2, $4, 1, LANCES_ROOM
warp_def $2, $5, 2, LANCES_ROOM
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 1
person_event SPRITE_KAREN, 7, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, KarenScript_0x180bee, -1