Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
fa34dd6
base sprite group constants
Retnuhytnuob May 10, 2026
2f5cd28
all dusclops sprite groups
Retnuhytnuob May 10, 2026
0ed781a
groudon Sprite Groups
Retnuhytnuob May 11, 2026
5d0318a
kecleon sprite groups
Retnuhytnuob May 11, 2026
e28821d
kyogre sprite groups
Retnuhytnuob May 11, 2026
a0a7139
flippers
Retnuhytnuob May 11, 2026
e3e313c
rayquaza sprite groups
Retnuhytnuob May 12, 2026
c59f13f
spheal sprite groups
Retnuhytnuob May 12, 2026
8020b80
Pause Sprite Group + Dusclops SpriteSets
Retnuhytnuob May 12, 2026
5853653
packed oam readability
Retnuhytnuob May 12, 2026
0dd7e1e
field sprite group address refs
Retnuhytnuob May 13, 2026
238c073
field sprite group IXs used by bonus boards
Retnuhytnuob May 13, 2026
fae6a5c
documentation for fieldSpriteGroups field
Retnuhytnuob May 13, 2026
e2f0444
field select screen
Retnuhytnuob May 15, 2026
6966706
title screen sprite groups
Retnuhytnuob May 15, 2026
6e7ea3c
bonus spriteset naming, high score spritegroup consts
Retnuhytnuob May 23, 2026
5f1dbc1
pokedex SG
Retnuhytnuob May 25, 2026
bbb9ba2
checkpoint 1
Retnuhytnuob May 26, 2026
92f06b1
checkpoint 2
Retnuhytnuob May 26, 2026
2b69474
checkpoint
Retnuhytnuob May 27, 2026
b5a4a5b
Ruby Board through 22
Retnuhytnuob May 27, 2026
e77f216
SpriteGroups through 42
Retnuhytnuob May 29, 2026
1b3cb90
remaining field sprite groups
Retnuhytnuob May 29, 2026
8fe5ec5
placeholders for board specific graphic consts
Retnuhytnuob May 29, 2026
75b9f58
Remaining Ruby Board SGs
Retnuhytnuob May 30, 2026
c0b3b6c
remaining sapphire SGs
Retnuhytnuob May 30, 2026
cefc7d2
input array and pika coverage consts
Retnuhytnuob May 30, 2026
fc9d2e8
timerMode
Retnuhytnuob May 30, 2026
3401cb6
ball spawn state
Retnuhytnuob May 30, 2026
7126fb5
cameraLocked name, flipper consts
Retnuhytnuob May 31, 2026
2c28099
ball physics state name
Retnuhytnuob May 31, 2026
74587c4
banner hold lock camera
Retnuhytnuob May 31, 2026
0a6e9ed
update side naming var; more generic
Retnuhytnuob May 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions asm/macros/sprite_oam.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@
.4byte ( ((\y) & 0xFF) | (((\affineMode) & 0x3) << 8) | (((\objMode) & 0x3) << 10) | (((\mosaic) & 0x1) << 12) | (((\bpp) & 0x1) << 13) | (((__shape) & 0x3) << 14) | (((\x) & 0x1FF) << 16) | (((\matrixNum) & 0x7) << 25) | (((\hFlip) & 0x1) << 28) | (((\vFlip) & 0x1) << 29) | (((__size) & 0x3) << 30) )
.2byte ( ((\tileNum) & 0x3FF) | (((\priority) & 0x3) << 10) | (((\paletteNum) & 0xF) << 12) )
.endm

@ for generating sprite addresses in Rom based on indexes.
@ Takes in a comma separated list of indexes.
.macro spriteGroupAddrs indexes:vararg
.irp idx,\indexes
.set __addr, gMain_spriteGroups + ((\idx) * 0xB8)
.4byte (__addr)
.endr
.endm
14 changes: 7 additions & 7 deletions data/rom_1.s
Original file line number Diff line number Diff line change
Expand Up @@ -982,10 +982,10 @@ gSapphirePainterPalette:: @ 0x081BFCE4
gRubyBoardPalette:: @ 0x081BFEE4
.incbin "baserom.gba", 0x1BFEE4, 0x180

gDefaultBallPalette:: @ 0x081C0064
gDefaultTimerPalette:: @ 0x081C0064
.incbin "baserom.gba", 0x1C0064, 0x80

gPortraitGenericPalettes:: @ 0x081C00E4
gLocationPalettes:: @ 0x081C00E4
.incbin "baserom.gba", 0x1C00E4, 0x200

gPortraitAnimPalettes:: @ 0x081C02E4
Expand Down Expand Up @@ -1319,13 +1319,13 @@ gSapphireBumperLeft_Gfx:: @ 0x0847A40C
gSapphireBumperLeftHit_Gfx:: @ 0x0847D10C
.incbin "baserom.gba", 0x47D10C, 0xE00

gRubyRampGateTileGfx:: @ 0x0847DF0C
gRubyMakuhitaGfx:: @ 0x0847DF0C
.incbin "baserom.gba", 0x47DF0C, 0x1E00

gSideBumperGfx:: @ 0x0847FD0C
.incbin "baserom.gba", 0x47FD0C, 0x200

gShopDigitTilesGfx:: @ 0x0847FF0C
gShopPortraitOverlayGfx:: @ 0x0847FF0C
.incbin "baserom.gba", 0x47FF0C, 0xF00

gDecimalDigitTilesGfx:: @ 0x08480E0C
Expand All @@ -1340,7 +1340,7 @@ gRubyTravelVolbeat_Gfx:: @ 0x08483D8C
gSapphireTravelIllumise_Gfx:: @ 0x08488A0C
.incbin "baserom.gba", 0x488A0C, 0x4C80

gPortraitGenericGraphics:: @ 0x0848D68C
gLocationPortraitGfx:: @ 0x0848D68C
.incbin "baserom.gba", 0x48D68C, 0x2700

gCaptureModeTilesGfx:: @ 0x0848FD8C
Expand Down Expand Up @@ -1376,10 +1376,10 @@ gRayquazaSpriteSheet:: @ 0x084AA18C
gRayquazaBodyVariantTiles:: @ 0x084AA9EC
.incbin "baserom.gba", 0x4AA9EC, 0x5000

gSphealScoreCounterDigitSprites:: @ 0x084AF9EC
gSphealNetGfx:: @ 0x084AF9EC
.incbin "baserom.gba", 0x4AF9EC, 0x600

gSphealExtendedScoreSprites:: @ 0x084AFFEC
gSphealNetFrontGfx:: @ 0x084AFFEC
.incbin "baserom.gba", 0x4AFFEC, 0x480

gSphealFlyingEnemyVariantSprites:: @ 0x084B046C
Expand Down
4,888 changes: 2,470 additions & 2,418 deletions data/rom_2.s

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions include/constants/board/main_board.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,26 @@ enum BoardStateDispatchStates{
BOARD_STATE_DISPATCHER_STATE_CHANGING = 2,
};

enum BannerGfxModes{
BANNER_MODE_NONE = 0,
BANNER_MODE_CHINCHOU_CATCH_BURST = 1,
BANNER_MODE_CATCH_EM = 2,
BANNER_MODE_EVOLUTION = 3,
BANNER_MODE_TRAVEL = 4,
BANNER_MODE_JIRACHI = 5,
BANNER_MODE_LOTAD_CATCH_BURST = 6,
BANNER_MODE_SHROOMISH_CATCH_BURST = 7,
};

enum OutlaneSide{
OUTLANE_LEFT = 1,
OUTLANE_RIGHT = 2
};

enum PikaCoverage {
PIKA_LEFT_SIDE = 0,
PIKA_RIGHT_SIDE = 1,
PIKA_BOTH_SIDES = 2
};

#endif // GUARD_CONSTANTS_MAIN_BOARD_H
8 changes: 4 additions & 4 deletions include/constants/board/prize_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#define PRIZE_BALL_UPGRADE_C 12
#define PRIZE_BALL_UPGRADE_TO_MASTER 13

//Note Prize 14-16 unused
#define PRIZE_14 14
#define PRIZE_15 15
#define PRIZE_16 16
//Note Prize 14-16 unused in shop/roulette
#define PRIZE_14 14 // 'Start Slot' graphic
#define PRIZE_15 15 // Goto next graphic (up arrow)
#define PRIZE_16 16 // Travel ramp indicator graphic

#define PRIZE_10_COINS 17
#define PRIZE_30_COINS 18
Expand Down
Loading