Skip to content

Commit 6ac2306

Browse files
committed
Changed story event and added trainers to new map
1 parent dee209d commit 6ac2306

File tree

8 files changed

+57
-6
lines changed

8 files changed

+57
-6
lines changed

constants/event_flags.asm

+2
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@
516516
; Swimmer F
517517

518518
; Bird Keeper
519+
const EVENT_BEAT_BIRD_KEEPER_PERRY
519520

520521
; Boarder
521522

@@ -584,6 +585,7 @@
584585

585586
; Lass
586587
const EVENT_BEAT_LASS_ALEXIS
588+
const EVENT_BEAT_LASS_LANEY
587589
const EVENT_BEAT_LASS_CANDICE
588590
const EVENT_BEAT_LASS_NICOLE
589591
; Hiker

constants/trainer_constants.asm

+2
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ DEF NUM_NONTRAINER_PHONECONTACTS EQU const_value - 1
103103
trainerclass DETECTIVE ; 17
104104

105105
trainerclass BIRD_KEEPER ; 18
106+
const PERRY
106107

107108
trainerclass LASS ; 19
108109
const ALEXIS
110+
const LANEY
109111
const CANDICE
110112
const NICOLE
111113

data/maps/landmarks.asm

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Landmarks:
1010
landmark -8, -16, SpecialMapName
1111
landmark 20, 84, HeraldCoveName
1212
landmark 8, 84, HeraldRouteName
13-
landmark 0, 0, HeraldBayName
13+
landmark 4, 92, HeraldBayName
1414
landmark 12, 73, CraggyBeachName
1515
landmark 12, 60, CraggyCoastName
1616
landmark 12, 48, ScenicBluffName

data/trainers/parties.asm

+8
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,14 @@ LassGroup:
256256
db 5, FLETCHLING
257257
db -1 ; end
258258

259+
; LASS (1)
260+
db "LANEY@", TRAINERTYPE_NORMAL
261+
db 5, PIDGEY
262+
db 5, KRABBY
263+
db 5, SENTRET
264+
db 5, FLETCHLING
265+
db -1 ; end
266+
259267
; LASS (2)
260268
db "CANDICE@", TRAINERTYPE_NORMAL
261269
db 7, PIDGEY

gfx/pokegear/johto.bin

0 Bytes
Binary file not shown.

gfx/pokegear/phone.tilemap.rle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
O
2-
OO
3-
'O
4-
�
1+
O OO
2+

3+
O
4+
�

maps/HeraldBay.asm

+35-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,43 @@
11
object_const_def
2+
const HERALD_BAY_BIRD_KEEPER
3+
const HERALD_BAY_LASS
24

35
HeraldBay_MapScripts:
46
def_scene_scripts
57

68
def_callbacks
79

10+
TrainerBirdKeeperPerry:
11+
trainer BIRD_KEEPER, PERRY, EVENT_BEAT_BIRD_KEEPER_PERRY, BirdKeeperPerrySeenText, BirdKeeperPerryBeatenText, 0, .Script
12+
13+
.Script:
14+
endifjustbattled
15+
opentext
16+
writetext BirdKeeperPerryAfterText
17+
waitbutton
18+
closetext
19+
end
20+
21+
TrainerLassLaney:
22+
trainer LASS, LANEY, EVENT_BEAT_LASS_LANEY, LassLaneySeenText, LassLaneyBeatenText, 0, .Script
23+
24+
.Script:
25+
endifjustbattled
26+
opentext
27+
writetext LassLaneyAfterText
28+
waitbutton
29+
closetext
30+
end
31+
32+
33+
BirdKeeperPerrySeenText:
34+
BirdKeeperPerryBeatenText:
35+
BirdKeeperPerryAfterText:
36+
LassLaneySeenText:
37+
LassLaneyBeatenText:
38+
LassLaneyAfterText:
39+
text "TEST"
40+
done
841

942
HeraldBay_MapEvents:
1043
db 0, 0 ; filler
@@ -16,5 +49,6 @@ HeraldBay_MapEvents:
1649

1750
def_bg_events
1851

19-
2052
def_object_events
53+
object_event 15, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerBirdKeeperPerry, -1
54+
object_event 11, 24, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerLassLaney, -1

maps/HeraldBayHouse.asm

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ HeraldBayHouse_MapScripts:
1818
closetext
1919
setmapscene HERALD_LAB, SCENE_HERALD_LAB_POKEDEX
2020
clearevent EVENT_EDWARD_MISSING_FROM_GYM
21+
special FadeBlackQuickly
22+
special ReloadSpritesNoPalettes
23+
disappear HERALD_BAY_EDWARD
24+
pause 25
25+
special FadeInQuickly
2126
end
2227

2328
EdwardGivesMapText:

0 commit comments

Comments
 (0)