mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-05 21:25:24 -05:00
107 lines
2.3 KiB
PHP
107 lines
2.3 KiB
PHP
PokemonLeague_AgathasRoom_MapScripts:: @ 8162810
|
|
map_script 5, PokemonLeague_AgathasRoom_MapScript1_162825
|
|
map_script 1, PokemonLeague_AgathasRoom_MapScript2_162830
|
|
map_script 4, PokemonLeague_AgathasRoom_MapScript3_162851
|
|
map_script 2, PokemonLeague_AgathasRoom_MapScript4_162860
|
|
.byte 0
|
|
|
|
PokemonLeague_AgathasRoom_MapScript1_162825:: @ 8162825
|
|
setvar VAR_0x8004, 2
|
|
call EventScript_1A75D5
|
|
end
|
|
|
|
PokemonLeague_AgathasRoom_MapScript2_162830:: @ 8162830
|
|
checkflag FLAG_0x4BA
|
|
call_if 1, EventScript_16284B
|
|
compare_var_to_value VAR_0x4068, 3
|
|
call_if 1, EventScript_162845
|
|
end
|
|
|
|
EventScript_162845:: @ 8162845
|
|
call EventScript_1A759C
|
|
return
|
|
|
|
EventScript_16284B:: @ 816284B
|
|
call EventScript_1A7538
|
|
return
|
|
|
|
PokemonLeague_AgathasRoom_MapScript3_162851:: @ 8162851
|
|
map_script_2 VAR_0x4001, 0, EventScript_16285B
|
|
.2byte 0
|
|
|
|
EventScript_16285B:: @ 816285B
|
|
turnobject 255, 2
|
|
end
|
|
|
|
PokemonLeague_AgathasRoom_MapScript4_162860:: @ 8162860
|
|
map_script_2 VAR_0x4068, 2, EventScript_16286A
|
|
.2byte 0
|
|
|
|
EventScript_16286A:: @ 816286A
|
|
lockall
|
|
call EventScript_1A751F
|
|
setvar VAR_0x4068, 3
|
|
releaseall
|
|
end
|
|
|
|
PokemonLeague_AgathasRoom_EventScript_162877:: @ 8162877
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8004, 11
|
|
setvar VAR_0x8005, 2
|
|
special UpdatePickStateFromSpecialVar8005
|
|
checkflag FLAG_0x4BA
|
|
goto_if_eq EventScript_162911
|
|
setvar VAR_0x8004, 11
|
|
setvar VAR_0x8005, 0
|
|
special SetFlavorTextFlagFromSpecialVars
|
|
setvar VAR_0x8004, 11
|
|
setvar VAR_0x8005, 4
|
|
special SetFlavorTextFlagFromSpecialVars
|
|
setvar VAR_0x8004, 0
|
|
setvar VAR_0x8005, 4
|
|
special SetFlavorTextFlagFromSpecialVars
|
|
checkflag FLAG_0x82C
|
|
call_if 0, EventScript_1628E9
|
|
checkflag FLAG_0x82C
|
|
call_if 1, EventScript_1628F2
|
|
setflag FLAG_0x003
|
|
setflag FLAG_0x005
|
|
checkflag FLAG_0x844
|
|
call_if 0, EventScript_1628FB
|
|
checkflag FLAG_0x844
|
|
call_if 1, EventScript_162906
|
|
clearflag FLAG_0x005
|
|
goto EventScript_16291B
|
|
|
|
EventScript_1628E8:: @ 81628E8
|
|
end
|
|
|
|
EventScript_1628E9:: @ 81628E9
|
|
msgbox gUnknown_817844D
|
|
return
|
|
|
|
EventScript_1628F2:: @ 81628F2
|
|
msgbox gUnknown_817858D
|
|
return
|
|
|
|
EventScript_1628FB:: @ 81628FB
|
|
trainerbattle 3, 412, 0, Text_1786D7
|
|
return
|
|
|
|
EventScript_162906:: @ 8162906
|
|
trainerbattle 3, 737, 0, Text_1786D7
|
|
return
|
|
|
|
EventScript_162911:: @ 8162911
|
|
msgbox gUnknown_8178700
|
|
release
|
|
end
|
|
|
|
EventScript_16291B:: @ 816291B
|
|
setflag FLAG_0x4BA
|
|
call EventScript_1A7506
|
|
msgbox gUnknown_8178700
|
|
release
|
|
end
|