2015-07-10 08:45:35 +00:00
|
|
|
TrainerHouseB1F_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x9b38a, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b38a:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b38b:
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $0, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2013-09-24 07:51:42 +00:00
|
|
|
checkflag $0057
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x9b3f7
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b420
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-02-11 23:03:42 +00:00
|
|
|
special SpecialTrainerHouse
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x9b3a6
|
|
|
|
trainertotext CAL, CAL2, $0
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9b3aa
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3a6:
|
2013-02-17 06:54:07 +00:00
|
|
|
trainertotext CAL, CAL3, $0
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3aa:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b46a
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b487
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x9b3ed
|
2013-09-24 07:51:42 +00:00
|
|
|
setflag $0057
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b4a2
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x9b401
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b587
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 23:03:42 +00:00
|
|
|
special SpecialTrainerHouse
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x9b3dc
|
|
|
|
winlosstext UnknownText_0x9b578, $0000
|
|
|
|
setlasttalked $3
|
|
|
|
loadtrainer CAL, CAL2
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
|
|
|
iffalse UnknownScript_0x9b3e8
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3dc:
|
2013-02-17 06:54:07 +00:00
|
|
|
winlosstext UnknownText_0x9b578, $0000
|
|
|
|
setlasttalked $3
|
|
|
|
loadtrainer CAL, CAL3
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3e8:
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $0, MovementData_0x9b40f
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3ed:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b4d6
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x9b41d
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9b3f7:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9b51d
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x9b41d
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x9b401:
|
2013-02-17 06:54:07 +00: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 08:45:35 +00:00
|
|
|
MovementData_0x9b40f:
|
2013-02-17 06:54:07 +00: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 08:45:35 +00:00
|
|
|
MovementData_0x9b41d:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b420:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hi. Welcome to our"
|
|
|
|
line "TRAINING HALL."
|
|
|
|
|
|
|
|
para "You may battle a"
|
|
|
|
line "trainer once per"
|
|
|
|
cont "day."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b46a:
|
2015-02-10 23:37:24 +00:00
|
|
|
text_from_ram StringBuffer3
|
2014-03-06 05:29:44 +00:00
|
|
|
text " is your"
|
|
|
|
line "opponent today."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b487:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Would you like to"
|
|
|
|
line "battle?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b4a2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Please go right"
|
|
|
|
line "through."
|
|
|
|
|
|
|
|
para "You may begin"
|
|
|
|
line "right away."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b4d6:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry. Only those"
|
|
|
|
line "trainers who will"
|
|
|
|
|
|
|
|
para "be battling are"
|
|
|
|
line "allowed to go in."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b51d:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b578:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I lost…"
|
|
|
|
line "Darn…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x9b587:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I traveled out"
|
|
|
|
line "here just so I"
|
|
|
|
cont "could battle you."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TrainerHouseB1F_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 1
|
|
|
|
warp_def $4, $9, 3, GROUP_TRAINER_HOUSE_1F, MAP_TRAINER_HOUSE_1F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 1
|
|
|
|
xy_trigger 0, $3, $7, $0, UnknownScript_0x9b38b, $0, $0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 2
|
2013-07-12 21:06:11 +00:00
|
|
|
person_event SPRITE_RECEPTIONIST, 5, 11, $6, $0, 255, 255, $a0, 0, ObjectEvent, $ffff
|
|
|
|
person_event SPRITE_CHRIS, 15, 10, $8, $0, 255, 255, $80, 0, ObjectEvent, $ffff
|