Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09ad875

Browse files
committedApr 23, 2023
Finish Rocket House, Yellow sprite backport
Some big dubs for KEP today. This commit backports the Yellow overworld spriteset, and also adds the cat sprite for Meowth. This allows Jessie and James to use their overworld sprites in the Rocket House and serves as groundwork for backporting their other events. There are altered Daisy and Nurse Joy sprites that may or may not warrant usage. That can be discussed. Naturally, this also means there's a ton of overworld sprites to use elsewhere. Revamps of the "Bulbasaur house" in Cerulean and the Surfing Pikachu sprite change come to mind. An & symbol has been backported from GSC for Jessie and James's trainer class as well.
1 parent eba8947 commit 09ad875

25 files changed

+80
-41
lines changed
 

‎charmap.asm

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
charmap "”", $73 ; closing quote
5151
charmap "·", $74 ; middle dot, unused
5252
charmap "…", $75 ; ellipsis
53-
charmap "", $76 ; hiragana small a, unused
53+
;charmap "&", $76 ; and symbol, was unused hiragana small a
5454
charmap "ぇ", $77 ; hiragana small e, unused
5555
charmap "ぉ", $78 ; hiragana small o, unused
5656

@@ -71,6 +71,7 @@
7171
charmap "<BOLD_P>", $72 ; was jp opening quote (“)
7272
charmap "<ID>", $73
7373
charmap "№", $74
74+
charmap "&", $76 ; and symbol, was unused hiragana small a
7475

7576
; Actual characters (from other graphics files)
7677

@@ -166,7 +167,7 @@
166167
charmap "!", $e7
167168
charmap ".", $e8
168169

169-
charmap "", $e9 ; katakana small a, unused
170+
charmap "&", $e9 ; & was unused katakana small a
170171
charmap "ゥ", $ea ; katakana small u, unused
171172
charmap "ェ", $eb ; katakana small e, unused
172173

‎constants/sprite_constants.asm

+28-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; ported from Yellow
12
; overworld sprites
23
; SpriteSheetPointerTable indexes (see data/sprites/sprites.asm)
34
const_def
@@ -32,7 +33,7 @@
3233
const SPRITE_MIDDLE_AGED_WOMAN ; $1c
3334
const SPRITE_BRUNETTE_GIRL ; $1d
3435
const SPRITE_LANCE ; $1e
35-
const SPRITE_UNUSED_SCIENTIST ; $1f
36+
const SPRITE_UNUSED_RED_1 ; $1f
3637
const SPRITE_SCIENTIST ; $20
3738
const SPRITE_ROCKER ; $21
3839
const SPRITE_SWIMMER ; $22
@@ -51,28 +52,39 @@
5152
const SPRITE_FISHER ; $2f
5253
const SPRITE_KOGA ; $30
5354
const SPRITE_GUARD ; $31
54-
const SPRITE_FAKE_TREE ; $32 - fake tree, was guard
55+
const SPRITE_UNUSED_RED_2 ; $32
5556
const SPRITE_MOM ; $33
5657
const SPRITE_BALDING_GUY ; $34
5758
const SPRITE_LITTLE_BOY ; $35
58-
const SPRITE_UNUSED_GAMEBOY_KID ; $36
59+
const SPRITE_UNUSED_RED_3 ; $36
5960
const SPRITE_GAMEBOY_KID ; $37
6061
const SPRITE_FAIRY ; $38
6162
const SPRITE_AGATHA ; $39
6263
const SPRITE_BRUNO ; $3a
6364
const SPRITE_LORELEI ; $3b
6465
const SPRITE_SEEL ; $3c
66+
const SPRITE_PIKACHU ; $3d
67+
const SPRITE_OFFICER_JENNY ; $3e
68+
const SPRITE_SANDSHREW ; $3f
69+
const SPRITE_ODDISH ; $40
70+
const SPRITE_BULBASAUR ; $41
71+
const SPRITE_JIGGLYPUFF ; $42
72+
const SPRITE_CLEFAIRY ; $43
73+
const SPRITE_CHANSEY ; $44
74+
const SPRITE_JESSIE ; $45
75+
const SPRITE_JAMES ; $46
76+
const SPRITE_CAT
6577
DEF FIRST_STILL_SPRITE EQU const_value
66-
const SPRITE_POKE_BALL ; $3d
67-
const SPRITE_FOSSIL ; $3e
68-
const SPRITE_BOULDER ; $3f
69-
const SPRITE_PAPER ; $40
70-
const SPRITE_POKEDEX ; $41
71-
const SPRITE_CLIPBOARD ; $42
72-
const SPRITE_SNORLAX ; $43
73-
const SPRITE_UNUSED_OLD_AMBER ; $44
74-
const SPRITE_OLD_AMBER ; $45
75-
const SPRITE_UNUSED_GAMBLER_ASLEEP_1 ; $46
76-
const SPRITE_UNUSED_GAMBLER_ASLEEP_2 ; $47
77-
const SPRITE_GAMBLER_ASLEEP ; $48
78-
DEF NUM_SPRITES EQU const_value - 1
78+
const SPRITE_POKE_BALL ; $47
79+
const SPRITE_FOSSIL ; $48
80+
const SPRITE_BOULDER ; $49
81+
const SPRITE_PAPER ; $4a
82+
const SPRITE_POKEDEX ; $4b
83+
const SPRITE_CLIPBOARD ; $4c
84+
const SPRITE_SNORLAX ; $4d
85+
const SPRITE_UNUSED_OLD_AMBER ; $4e
86+
const SPRITE_OLD_AMBER ; $4f
87+
const SPRITE_UNUSED_GAMBLER_ASLEEP_1 ; $50
88+
const SPRITE_UNUSED_GAMBLER_ASLEEP_2 ; $51
89+
const SPRITE_GAMBLER_ASLEEP ; $52
90+
DEF NUM_SPRITES EQU const_value - 1

‎constants/sprite_set_constants.asm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; Ported from Yellow
12
; sprite set ids
23
; indexes for SpriteSets (see data/maps/sprite_sets.asm)
34
; values for MapSpriteSets and SplitMapSpriteSets (see data/maps/sprite_sets.asm)
@@ -38,4 +39,4 @@ DEF EAST_WEST EQU 1
3839
DEF NORTH_SOUTH EQU 2
3940

4041
; each sprite set has 9 walking sprites and 2 still sprites
41-
DEF SPRITE_SET_LENGTH EQU 9 + 2
42+
DEF SPRITE_SET_LENGTH EQU 9 + 2

‎data/maps/objects/CitrineRocketHouse.asm

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ CitrineRocketHouse_Object:
1212
object_event 5, 1, SPRITE_ROCKET, STAY, DOWN, 2 ; Mart Guy
1313
object_event 1, 6, SPRITE_ROCKET, STAY, RIGHT, 3 ; person
1414
object_event 9, 3, SPRITE_ROCKET, STAY, UP, 4 ; person
15-
object_event 9, 8, SPRITE_ROCKET, STAY, UP, 5 ; Meowth ; SPRITE_CAT
16-
object_event 9, 5, SPRITE_ROCKET, STAY, DOWN, 6 ; James ; SPRITE_JAMES
17-
object_event 7, 6, SPRITE_ROCKET, STAY, RIGHT, 7 ; Jessie ; SPRITE_JESSIE
15+
object_event 9, 8, SPRITE_CAT, STAY, UP, 5 ; Meowth
16+
object_event 9, 5, SPRITE_JAMES, STAY, DOWN, 6 ; James
17+
object_event 7, 6, SPRITE_JESSIE, STAY, RIGHT, 7 ; Jessie
1818

1919
def_warps_to CITRINE_ROCKET_HOUSE

‎data/maps/sprite_sets.asm

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ SpriteSets:
9090
db SPRITE_COOLTRAINER_F
9191
db SPRITE_COOLTRAINER_M
9292
db SPRITE_POKE_BALL
93-
db SPRITE_FAKE_TREE ; fake tree, used to be unused sleeping gambler
93+
db SPRITE_CAT
9494

9595
; SPRITESET_LAVENDER
9696
db SPRITE_LITTLE_GIRL
@@ -103,7 +103,7 @@ SpriteSets:
103103
db SPRITE_COOLTRAINER_M
104104
db SPRITE_GUARD
105105
db SPRITE_POKE_BALL
106-
db SPRITE_FAKE_TREE ; fake tree, used to be unused sleeping gambler
106+
db SPRITE_CAT
107107

108108
; SPRITESET_VERMILION
109109
db SPRITE_BEAUTY
@@ -116,7 +116,7 @@ SpriteSets:
116116
db SPRITE_COOLTRAINER_F
117117
db SPRITE_COOLTRAINER_M
118118
db SPRITE_POKE_BALL
119-
db SPRITE_FAKE_TREE ; fake tree, used to be unused sleeping gambler
119+
db SPRITE_CAT
120120

121121
; SPRITESET_CELADON
122122
db SPRITE_LITTLE_GIRL
@@ -142,7 +142,7 @@ SpriteSets:
142142
db SPRITE_GUARD
143143
db SPRITE_GAMBLER
144144
db SPRITE_POKE_BALL
145-
db SPRITE_FAKE_TREE ; fake tree, used to be unused sleeping gambler
145+
db SPRITE_CAT
146146

147147
; SPRITESET_SAFFRON
148148
db SPRITE_ROCKET
@@ -155,7 +155,7 @@ SpriteSets:
155155
db SPRITE_COOLTRAINER_M
156156
db SPRITE_MONSTER
157157
db SPRITE_POKE_BALL
158-
db SPRITE_FAKE_TREE ; fake tree, used to be unused sleeping gambler
158+
db SPRITE_CAT
159159

160160
; SPRITESET_SILENCE_BRIDGE
161161
db SPRITE_BIKER

‎data/sprites/sprites.asm

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; Ported from Yellow
12
MACRO overworld_sprite
23
dw \1
34
db \2 tiles
@@ -37,7 +38,7 @@ SpriteSheetPointerTable:
3738
overworld_sprite MiddleAgedWomanSprite, 12 ; SPRITE_MIDDLE_AGED_WOMAN
3839
overworld_sprite BrunetteGirlSprite, 12 ; SPRITE_BRUNETTE_GIRL
3940
overworld_sprite LanceSprite, 12 ; SPRITE_LANCE
40-
overworld_sprite ScientistSprite, 12 ; SPRITE_UNUSED_SCIENTIST
41+
overworld_sprite RedSprite, 12 ; SPRITE_UNUSED_RED_1
4142
overworld_sprite ScientistSprite, 12 ; SPRITE_SCIENTIST
4243
overworld_sprite RockerSprite, 12 ; SPRITE_ROCKER
4344
overworld_sprite SwimmerSprite, 12 ; SPRITE_SWIMMER
@@ -56,17 +57,28 @@ SpriteSheetPointerTable:
5657
overworld_sprite FisherSprite, 12 ; SPRITE_FISHER
5758
overworld_sprite KogaSprite, 12 ; SPRITE_KOGA
5859
overworld_sprite GuardSprite, 12 ; SPRITE_GUARD
59-
overworld_sprite TreeSprite, 4 ; SPRITE_FAKE_TREE - used to be unused guard, now fake tree
60+
overworld_sprite RedSprite, 12 ; SPRITE_UNUSED_RED_2
6061
overworld_sprite MomSprite, 12 ; SPRITE_MOM
6162
overworld_sprite BaldingGuySprite, 12 ; SPRITE_BALDING_GUY
6263
overworld_sprite LittleBoySprite, 12 ; SPRITE_LITTLE_BOY
63-
overworld_sprite GameboyKidSprite, 12 ; SPRITE_UNUSED_GAMEBOY_KID
64+
overworld_sprite RedSprite, 12 ; SPRITE_UNUSED_RED_3
6465
overworld_sprite GameboyKidSprite, 12 ; SPRITE_GAMEBOY_KID
6566
overworld_sprite FairySprite, 12 ; SPRITE_FAIRY
6667
overworld_sprite AgathaSprite, 12 ; SPRITE_AGATHA
6768
overworld_sprite BrunoSprite, 12 ; SPRITE_BRUNO
6869
overworld_sprite LoreleiSprite, 12 ; SPRITE_LORELEI
6970
overworld_sprite SeelSprite, 12 ; SPRITE_SEEL
71+
overworld_sprite PikachuSprite, 12 ; SPRITE_PIKACHU
72+
overworld_sprite OfficerJennySprite, 12 ; SPRITE_OFFICER_JENNY
73+
overworld_sprite SandshrewSprite, 12 ; SPRITE_SANDSHREW
74+
overworld_sprite OddishSprite, 12 ; SPRITE_ODDISH
75+
overworld_sprite BulbasaurSprite, 12 ; SPRITE_BULBASAUR
76+
overworld_sprite JigglypuffSprite, 12 ; SPRITE_JIGGLYPUFF
77+
overworld_sprite ClefairySprite, 12 ; SPRITE_CLEFAIRY
78+
overworld_sprite ChanseySprite, 12 ; SPRITE_CHANSEY
79+
overworld_sprite JessieSprite, 12 ; SPRITE_JESSIE
80+
overworld_sprite JamesSprite, 12 ; SPRITE_JAMES
81+
overworld_sprite CatSprite, 12 ; SPRITE_CAT
7082
overworld_sprite PokeBallSprite, 4 ; SPRITE_POKE_BALL
7183
overworld_sprite FossilSprite, 4 ; SPRITE_FOSSIL
7284
overworld_sprite BoulderSprite, 4 ; SPRITE_BOULDER
@@ -79,4 +91,4 @@ SpriteSheetPointerTable:
7991
overworld_sprite GamblerAsleepSprite, 4 ; SPRITE_UNUSED_GAMBLER_ASLEEP_1
8092
overworld_sprite GamblerAsleepSprite, 4 ; SPRITE_UNUSED_GAMBLER_ASLEEP_2
8193
overworld_sprite GamblerAsleepSprite, 4 ; SPRITE_GAMBLER_ASLEEP
82-
assert_table_length NUM_SPRITES
94+
assert_table_length NUM_SPRITES

‎engine/debug/debug_party.asm

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ IshiharaTeam:
2424
db EXEGGUTOR_A, 90
2525
db RHYDON, 90
2626
db KANGASKHAN, 90
27-
db KASANAGI, 50
27+
db NIDORAN_M, 50
2828
IF DEF(_DEBUG)
2929
db KOKANA, 50
3030
ENDC

‎gfx/font/font.png

1.16 KB
Loading

‎gfx/font/font_extra.png

382 Bytes
Loading

‎gfx/sprites.asm

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; Ported from Yellow
12
SECTION "NPC Sprites 1", ROMX
23

34
ScientistSprite:: INCBIN "gfx/sprites/scientist.2bpp"
@@ -27,6 +28,7 @@ ClipboardSprite:: INCBIN "gfx/sprites/clipboard.2bpp"
2728
SnorlaxSprite:: INCBIN "gfx/sprites/snorlax.2bpp"
2829
OldAmberSprite:: INCBIN "gfx/sprites/old_amber.2bpp"
2930
GamblerAsleepSprite:: INCBIN "gfx/sprites/gambler_asleep.2bpp"
31+
CatSprite:: INCBIN "gfx/sprites/cat.2bpp"
3032

3133

3234
SECTION "NPC Sprites 2", ROMX
@@ -72,7 +74,17 @@ BrunoSprite:: INCBIN "gfx/sprites/bruno.2bpp"
7274
LoreleiSprite:: INCBIN "gfx/sprites/lorelei.2bpp"
7375
SeelSprite:: INCBIN "gfx/sprites/seel.2bpp"
7476

77+
7578
SECTION "NPC Sprites 3", ROMX
7679

77-
CatSprite:: INCBIN "gfx/sprites/cat.2bpp"
78-
TreeSprite:: INCBIN "gfx/sprites/fake_tree.2bpp"
80+
OfficerJennySprite:: INCBIN "gfx/sprites/officer_jenny.2bpp"
81+
PikachuSprite:: INCBIN "gfx/sprites/pikachu.2bpp"
82+
SandshrewSprite:: INCBIN "gfx/sprites/sandshrew.2bpp"
83+
OddishSprite:: INCBIN "gfx/sprites/oddish.2bpp"
84+
BulbasaurSprite:: INCBIN "gfx/sprites/bulbasaur.2bpp"
85+
JigglypuffSprite:: INCBIN "gfx/sprites/jigglypuff.2bpp"
86+
ClefairySprite:: INCBIN "gfx/sprites/clefairy.2bpp"
87+
ChanseySprite:: INCBIN "gfx/sprites/chansey.2bpp"
88+
SurfingPikachuSprite:: INCBIN "gfx/sprites/surfing_pikachu.2bpp"
89+
JessieSprite:: INCBIN "gfx/sprites/jessie.2bpp"
90+
JamesSprite:: INCBIN "gfx/sprites/james.2bpp"

‎gfx/sprites/bulbasaur.png

547 Bytes
Loading

‎gfx/sprites/chansey.png

544 Bytes
Loading

‎gfx/sprites/clefairy.png

554 Bytes
Loading

‎gfx/sprites/daisy (1).png

277 Bytes
Loading

‎gfx/sprites/james.png

711 Bytes
Loading

‎gfx/sprites/jessie.png

888 Bytes
Loading

‎gfx/sprites/jigglypuff.png

467 Bytes
Loading

‎gfx/sprites/nurse (1).png

272 Bytes
Loading

‎gfx/sprites/oddish.png

421 Bytes
Loading

‎gfx/sprites/officer_jenny.png

859 Bytes
Loading

‎gfx/sprites/pikachu.png

847 Bytes
Loading

‎gfx/sprites/sandshrew.png

625 Bytes
Loading

‎gfx/sprites/surfing_pikachu.png

1.07 KB
Loading

‎scripts/CitrineRocketHouse.asm

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ JessieFight:
6767
ld [wIsTrainerBattle], a
6868
ld a, $5
6969
ld [wCitrineRocketHouseCurScript], a
70-
ld hl, JessieWinText
71-
ld de, JessieLoseText
70+
ld hl, JessieLoseText
71+
ld de, JessieWinText
7272
call SaveEndBattleTextPointers
7373
jp TextScriptEnd
7474
jr .done
@@ -92,7 +92,7 @@ JessieWinText:
9292
text_end
9393

9494
JessieLoseText:
95-
text_far _JessieWinText
95+
text_far _JessieLoseText
9696
text_end
9797

9898
JessieText2:

‎text/CitrineRocketHouse.asm

+5-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ _JamesText::
2828
done
2929

3030
_MeowthText::
31-
text "Nyarth!"
31+
text "MEOWTH: Nyarth!"
3232
done
3333

3434
_JessieText1::
@@ -57,7 +57,8 @@ _JessieWinText::
5757
5858
_JessieLoseText::
5959
text "Grr!"
60-
line "JAMES, you lout!"
60+
line "JAMES! You lout!"
61+
prompt
6162

6263
_JessieText2::
6364
text "That's it! I'm"
@@ -66,10 +67,10 @@ _JessieText2::
6667

6768
_JessieAfterBattleText::
6869
text "Too chicken to"
69-
line "fight? Then go"
70+
line "battle? Then go"
7071
cont "away!"
7172
done
72-
73+
; This mart text is unused because implementing custom mart text is hell.
7374
_MartGuyPrompt1::
7475
text "Alright, tell you"
7576
line "what. I sell TMs,"

0 commit comments

Comments
 (0)
Please sign in to comment.