summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SootopolisCity_PokemonCenter_1F.inc
blob: 9eb5b4a5710dc4ba21e7d98a6fa0b101dc4dd162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SootopolisCity_PokemonCenter_1F_MapScripts:: @ 815B190
	map_script 3, SootopolisCity_PokemonCenter_1F_MapScript1_15B196
	.byte 0

SootopolisCity_PokemonCenter_1F_MapScript1_15B196:: @ 815B196
	setrespawn 10
	end

@ 815B19A
	setvar VAR_SPECIAL_B, 1
	call VerdanturfTown_PokemonCenter_1F_EventScript_19FD5B
	waitmessage
	waitbuttonpress
	release
	end

SootopolisCity_PokemonCenter_1F_EventScript_15B1A8:: @ 815B1A8
	lock
	faceplayer
	checkflag FLAG_LEGENDARY_BATTLE_COMPLETED
	goto_if_eq SootopolisCity_PokemonCenter_1F_EventScript_15B1C6
	checkflag FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN
	goto_if 0, SootopolisCity_PokemonCenter_1F_EventScript_15B1C6
	msgbox SootopolisCity_PokemonCenter_1F_Text_18F770, 4
	release
	end

SootopolisCity_PokemonCenter_1F_EventScript_15B1C6:: @ 815B1C6
	msgbox SootopolisCity_PokemonCenter_1F_Text_18F6A2, 4
	release
	end

SootopolisCity_PokemonCenter_1F_EventScript_15B1D0:: @ 815B1D0
	lock
	faceplayer
	checkflag FLAG_LEGENDARY_BATTLE_COMPLETED
	goto_if_eq SootopolisCity_PokemonCenter_1F_EventScript_15B1EE
	checkflag FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN
	goto_if 0, SootopolisCity_PokemonCenter_1F_EventScript_15B1EE
	msgbox SootopolisCity_PokemonCenter_1F_Text_18F860, 4
	release
	end

SootopolisCity_PokemonCenter_1F_EventScript_15B1EE:: @ 815B1EE
	msgbox SootopolisCity_PokemonCenter_1F_Text_18F7EA, 4
	release
	end