Skip to content

Commit e036fdd

Browse files
Added Kris
1 parent e90f1c7 commit e036fdd

File tree

15 files changed

+25
-11
lines changed

15 files changed

+25
-11
lines changed

audio/play_battle_music.asm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ PlayBattleMusic::
8383
cp OPP_PROF_OAK ; could also use the final battle theme, but I think the elite 4 theme fits better instead. I'm happy to change this if it isn't well-liked.
8484
jr z, .Elite4Battle
8585
cp OPP_RIVAL3
86-
jr z, .finalBattle
86+
jr z, .finalBattle
87+
cp OPP_KRIS
88+
jr z, .finalBattle
8789
jr nz, .normalTrainerBattle
8890
.GymBattle
8991
ld a, MUSIC_GYM_LEADER_BATTLE

constants/sprite_constants.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
const SPRITE_MIDDLE_AGED_WOMAN ; $1c
3434
const SPRITE_BRUNETTE_GIRL ; $1d
3535
const SPRITE_LANCE ; $1e
36-
const SPRITE_UNUSED_RED_1 ; $1f
36+
const SPRITE_KRIS ; $1f
3737
const SPRITE_SCIENTIST ; $20
3838
const SPRITE_ROCKER ; $21
3939
const SPRITE_SWIMMER ; $22

constants/trainer_constants.asm

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ ENDM
6161
trainer_const CHANNELER ; $2D
6262
trainer_const AGATHA ; $2E
6363
trainer_const LANCE ; $2F
64-
trainer_const YUJIROU ; $0D, was unused juggler, also not 0D but I can't be bothered to change everything
65-
trainer_const STUDENT
66-
trainer_const FIREFIGHTER
67-
trainer_const KOICHI
68-
trainer_const JACK
69-
trainer_const JESSIE_JAMES
70-
trainer_const LEADER_GIOVANNI
64+
trainer_const YUJIROU ; $30
65+
trainer_const STUDENT ; $31
66+
trainer_const FIREFIGHTER ; $32
67+
trainer_const KOICHI ; $33
68+
trainer_const JACK ; $34
69+
trainer_const JESSIE_JAMES ; $35
70+
trainer_const LEADER_GIOVANNI; $36
71+
trainer_const KRIS ; $37
7172
DEF NUM_TRAINERS EQU const_value - 1

data/sprites/sprites.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ SpriteSheetPointerTable:
3838
overworld_sprite MiddleAgedWomanSprite, 12 ; SPRITE_MIDDLE_AGED_WOMAN
3939
overworld_sprite BrunetteGirlSprite, 12 ; SPRITE_BRUNETTE_GIRL
4040
overworld_sprite LanceSprite, 12 ; SPRITE_LANCE
41-
overworld_sprite RedSprite, 12 ; SPRITE_UNUSED_RED_1
41+
overworld_sprite KrisSprite, 12 ; SPRITE_KRIS
4242
overworld_sprite ScientistSprite, 12 ; SPRITE_SCIENTIST
4343
overworld_sprite RockerSprite, 12 ; SPRITE_ROCKER
4444
overworld_sprite SwimmerSprite, 12 ; SPRITE_SWIMMER

data/trainers/ai_pointers.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ TrainerAIPointers:
5757
dbw 2, BlackbeltAI ; Jack
5858
dbw 2, GenericAI ; Jessie & James
5959
dbw 3, SabrinaAI
60+
dbw 3, SabrinaAI ; Kris
6061
assert_table_length NUM_TRAINERS

data/trainers/encounter_types.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ FemaleTrainerList::
66
db OPP_MISTY
77
db OPP_ERIKA
88
db OPP_STUDENT
9+
db OPP_KRIS
910
db -1 ; end
1011

1112
EvilTrainerList::

data/trainers/move_choices.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ TrainerClassMoveChoiceModifications:
6262
move_choices 1, 2, 3, 4 ; JACK
6363
move_choices 1, 3, ; JESSIE_JAMES
6464
move_choices 1, 2, 3, 4 ; LEADER_GIOVANNI
65+
move_choices 1, 2, 3, 4 ; KRIS
6566
assert_list_length NUM_TRAINERS

data/trainers/names.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ TrainerNames::
5353
li "JACKY" ; Often called Jack, but the only source for that is the file names themselves, which are oft shortened or literal japanese translations; all other context is "Shinjuku Jacky".
5454
li "JESSIE&JAMES"
5555
li "GIOVANNI"
56+
li "KRIS"
5657
assert_list_length NUM_TRAINERS

data/trainers/parties.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ TrainerDataPointers:
5353
dw JackData
5454
dw JessieJamesData
5555
dw LeaderGiovanniData
56+
dw KrisData
5657
assert_table_length NUM_TRAINERS
5758

5859
; if first byte != $FF, then

data/trainers/pic_pointers_money.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ TrainerPicAndMoneyPointers::
6060
pic_money JackPic, 5000
6161
pic_money JessieJamesPic, 5000
6262
pic_money GiovanniPic2, 9900
63+
pic_money KrisPic, 9900
6364
assert_table_length NUM_TRAINERS

0 commit comments

Comments
 (0)