2015-07-10 01:45:35 -07:00
|
|
|
TrainerHouseB1F_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; triggers
|
2015-11-02 11:37:02 -08:00
|
|
|
dw UnknownScript_0x9b38a, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b38a:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b38b:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x9b3f7
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b420
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-02-11 15:03:42 -08:00
|
|
|
special SpecialTrainerHouse
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x9b3a6
|
|
|
|
trainertotext CAL, CAL2, $0
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x9b3aa
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3a6:
|
2013-02-16 22:54:07 -08:00
|
|
|
trainertotext CAL, CAL3, $0
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3aa:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b46a
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b487
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x9b3ed
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b4a2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9b401
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b587
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-02-11 15:03:42 -08:00
|
|
|
special SpecialTrainerHouse
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x9b3dc
|
2015-11-02 11:37:02 -08:00
|
|
|
winlosstext UnknownText_0x9b578, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
setlasttalked $3
|
2015-11-25 07:16:29 -08:00
|
|
|
scriptedtrainerdata CAL, CAL2
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
|
|
|
iffalse UnknownScript_0x9b3e8
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3dc:
|
2015-11-02 11:37:02 -08:00
|
|
|
winlosstext UnknownText_0x9b578, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
setlasttalked $3
|
2015-11-25 07:16:29 -08:00
|
|
|
scriptedtrainerdata CAL, CAL3
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3e8:
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9b40f
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3ed:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b4d6
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9b41d
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9b3f7:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9b51d
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9b41d
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x9b401:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x9b40f:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x9b41d:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b420:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hi. Welcome to our"
|
|
|
|
line "TRAINING HALL."
|
|
|
|
|
|
|
|
para "You may battle a"
|
|
|
|
line "trainer once per"
|
|
|
|
cont "day."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b46a:
|
2015-02-10 15:37:24 -08:00
|
|
|
text_from_ram StringBuffer3
|
2014-03-05 21:29:44 -08:00
|
|
|
text " is your"
|
|
|
|
line "opponent today."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b487:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Would you like to"
|
|
|
|
line "battle?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b4a2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please go right"
|
|
|
|
line "through."
|
|
|
|
|
|
|
|
para "You may begin"
|
|
|
|
line "right away."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b4d6:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry. Only those"
|
|
|
|
line "trainers who will"
|
|
|
|
|
|
|
|
para "be battling are"
|
|
|
|
line "allowed to go in."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b51d:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm sorry."
|
|
|
|
line "This would be your"
|
|
|
|
|
|
|
|
para "second time today."
|
|
|
|
line "You're permitted"
|
|
|
|
|
|
|
|
para "to enter just once"
|
|
|
|
line "a day."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b578:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I lost…"
|
|
|
|
line "Darn…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x9b587:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I traveled out"
|
|
|
|
line "here just so I"
|
|
|
|
cont "could battle you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
TrainerHouseB1F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $4, $9, 3, TRAINER_HOUSE_1F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
|
|
|
xy_trigger 0, $3, $7, $0, UnknownScript_0x9b38b, $0, $0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_RECEPTIONIST, 1, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, ObjectEvent, -1
|
|
|
|
person_event SPRITE_CHRIS, 11, 6, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, ObjectEvent, -1
|