summaryrefslogtreecommitdiff
path: root/data/maps/Route112/scripts.inc
blob: 9bf458099d1660e7036c3a1ae2d28ee5b7bf64f1 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
Route112_MapScripts:: @ 8150502
	map_script MAP_SCRIPT_ON_TRANSITION, Route112_MapScript1_150508
	.byte 0

Route112_MapScript1_150508:: @ 8150508
	call Common_EventScript_SetupEvilTeamGfxIds
	setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
	end

Route112_EventScript_150513:: @ 8150513
	msgbox Route112_Text_16FDF0, MSGBOX_NPC
	end

Route112_EventScript_15051C:: @ 815051C
	msgbox Route112_Text_16FE3E, MSGBOX_NPC
	end

Route112_EventScript_150525:: @ 8150525
	msgbox Route112_Text_16FEED, MSGBOX_SIGN
	end

Route112_EventScript_15052E:: @ 815052E
	msgbox Route112_Text_16FF19, MSGBOX_SIGN
	end

Route112_EventScript_150537:: @ 8150537
	msgbox Route112_Text_16FF64, MSGBOX_SIGN
	end

Route112_EventScript_150540:: @ 8150540
	msgbox Route112_Text_16FE7A, MSGBOX_NPC
	end

Route112_EventScript_150549:: @ 8150549
	trainerbattle_single TRAINER_BRICE, Route112_Text_1BB619, Route112_Text_1BB655
	msgbox Route112_Text_1BB667, MSGBOX_AUTOCLOSE
	end

Route112_EventScript_150560:: @ 8150560
	trainerbattle_single TRAINER_TRENT_1, Route112_Text_1BB6A0, Route112_Text_1BB707
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare VAR_RESULT, 1
	goto_if_eq Route112_EventScript_150587
	msgbox Route112_Text_1BB721, MSGBOX_AUTOCLOSE
	end

Route112_EventScript_150587:: @ 8150587
	trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_1BB7C7, Route112_Text_1BB801
	msgbox Route112_Text_1BB819, MSGBOX_AUTOCLOSE
	end

Route112_EventScript_15059E:: @ 815059E
	trainerbattle_single TRAINER_LARRY, Route112_Text_1BB893, Route112_Text_1BB8B6
	msgbox Route112_Text_1BB8BE, MSGBOX_AUTOCLOSE
	end

Route112_EventScript_1505B5:: @ 81505B5
	trainerbattle_single TRAINER_CAROL, Route112_Text_1BB8F0, Route112_Text_1BB942
	msgbox Route112_Text_1BB958, MSGBOX_AUTOCLOSE
	end