1069 Commits

Author SHA1 Message Date
Retnuhytnuob c1818185d6 Memory consts, Arrow Ref Naming, BgLayer tilemap correction, Misc fixes (#268)
Adds constants for the address and memory size of the VRAM data for various modes.

Redumped/named some graphics. (pika kickbacks, 1 up delivery/life digit/kyogre)

BG tilemaps (and files) to match their correct layer, rather than their sequence in the board file.
files/variables related to the pika kickback tiles.
se_ruby_bumper_hit -> se_bumper_hit (used for bumpers on both boards)
scoreOverlayActive -> cutsceneBackdropBarActive (context correction)
ballLaunchSpeed -> prevScrollYTileIx (usage has been traced)
scrollEffectY - scrollEffectYpx (defines precision scale)
shopSignFrame -> sapphireShopSignFrame (narrowing scope)
catchHoleTileVariant -> sharpedoNextTilelIx (clarity for which catch hole)
bossVulnerable -> bossNextFrameId (not just vulnerability related; general animation)
pauseScoreOverlayActive -> pauseCutsceneBackdropBarActive. (Whether or not there is a cutscene bar active when the pause button is pressed - That bar blacks out)
savedScoreOverlayActive -> savedcutsceneBackdropBarActive (as with previous entry)
gPokemonNameDisplayGfx -> gMartEvoForegroundMenuUx_Gfx (Name does end up drawn on that display, but it has a larger context than just the name)
2026-09-27 00:58:24 -05:00
Retnuhytnuob 274ab00a8b Convert the 0x06... range to practical forms; mode lamp naming (#265)
Adds some define macro for specifying an address in the Board/Object VRAM space, indexed by the Block, Row, Col
Documents the usage of the block 2 + 6 lines of block 3, with a 'modulused crosssection of the board', and a tilemap that draws those in the correct color, for the section where the camera is. (this also explains the 'wrapping, with wrong colors' if viewing the BG layer 3.)
Adds a define macro for addressing with the 'board wrapped' memory content, so that the tile reads as its board relative position, rather than its vram memory position.
Applies macro in place of memory address, when working with the VRAM data.

Resolves #224
2026-09-17 00:21:56 -05:00
Retnuhytnuob 14547ba828 Cleanup AI comments, add usage disclaimer. (#264)
* cleanup data dump comments
* AI usage disclaimer
2026-09-12 22:59:53 -05:00
Retnuhytnuob d55c2eb214 Consts for Bonus Loop, remaining board element states (#263)
Helper macros:
* BoardIn/NotInActivityMobe
* Start Of Even Bonus loop & RayquazaCatchChanceTrip

States:
* Bonus stage loop
* Sapphire Shop Gate (plusle/minun) & index consts + shock wall anim state
* Spoink Launcher
* Makuhita
* Seedot
* Zigzagoon
* Pelipper
* Nuzleaf
2026-09-11 21:19:07 -05:00
Retnuhytnuob 465d69bdac BoardProc naming, EOB summary consts, Collision type consts / params (#261)
Adds switch consts for Collision:

BoardCollisionType, CollisionBounceBehaviorType, CollisionResolutionState
Also names some input/output params for collision functions.
Renames BoardProcess#[a/b] functions, to reflect what that phase does.
Adds enum vals for the CurrentBoardProcPairs array indexing

Adds switch consts for End of Ball Bonus phases, debug modes, Tilt Direction handling, Return location from bonus boards, demo variants

Now uses consts for the number of dex lines/characters per line.
2026-09-11 21:10:14 -05:00
Retnuhytnuob c9335f5e6e Hatch state cleanup (enums, var naming), CatchTileBurst Phases (#262)
State Enums for:
* CatchTileBurstPhase
* EggAnimationPhase
* CyndaquilPositions
* HatchMachineStates
2026-09-11 21:08:29 -05:00
Retnuhytnuob 28248ed6a4 Resplit Spheal Results graphic, helper for summary tile lookup, and magic number const replacement (#260)
* active fx type

* flipper and proc step documentation

* resplit spheal summary graphics

* helper function
2026-09-08 21:09:29 -05:00
Retnuhytnuob 95fdbfaeea Flipper consts, FX sequence consts, document the per frame proc indexes (#259)
* active fx type
* flipper and proc step documentation
2026-09-05 21:26:29 -05:00
Retnuhytnuob bc3b7d4674 Add helper for working with trig math (#258)
Adds a helper function that does the structural 'Perform Sin/Con, then multiply, then scale down' that was littered across code.
Updates code to use it.
2026-09-05 01:50:17 -05:00
Retnuhytnuob dd8dd279f5 Merge pull request #254 from Retnuhytnuob/pal_and_addressing
Pal and addressing
2026-09-04 22:10:56 -05:00
Retnuhytnuob f263794b19 Palette_Mappings in Rom file 2026-09-04 22:06:27 -05:00
Retnuhytnuob 29160995ee extract inline for dimming pal 0 2026-09-04 02:33:39 -05:00
Retnuhytnuob 04c5735071 extracted a load lighting palette inline function 2026-09-04 02:22:51 -05:00
Retnuhytnuob 4f1c19c7ce Pal IX consts for main boards 2026-09-04 01:35:42 -05:00
Retnuhytnuob 5b1b8d9c08 Add consts for pal_IX 2026-09-03 21:37:58 -05:00
Retnuhytnuob 9d2764600a Merge pull request #252 from Retnuhytnuob/doubleOamTagging
Add relative name for Packed copy of OAM data
2026-09-03 20:16:41 -05:00
Retnuhytnuob 5253bd974a asmdiff restoration 2026-09-02 00:55:58 -05:00
Retnuhytnuob 644e8c5c96 remaining oaml based dups 2026-09-01 23:23:40 -05:00
Retnuhytnuob cbbe689810 packed oam copy checkpoint1 2026-09-01 02:35:47 -05:00
Retnuhytnuob 8daa819a72 Merge pull request #251 from Retnuhytnuob/pokeCryNaming
Pokemon cry naming
2026-08-31 23:48:47 -05:00
Retnuhytnuob dc6735de3f voice group partial naming; remaining cry files 2026-08-31 23:38:39 -05:00
Retnuhytnuob 5bdef82621 name unused cries 2026-08-31 22:36:10 -05:00
Retnuhytnuob f6be9962aa remaining cries 2026-08-31 02:23:42 -05:00
Retnuhytnuob ba9460c229 cries through Numel 2026-08-31 01:35:43 -05:00
Retnuhytnuob 95d3530fa6 poke cry through 265 2026-08-31 00:56:14 -05:00
Retnuhytnuob de868cd7d7 . 2026-08-30 14:52:29 -05:00
Retnuhytnuob 58fad629a4 pal and addressing work 2026-08-29 23:53:37 -05:00
Retnuhytnuob ef1e7a821c Merge pull request #250 from Retnuhytnuob/rgb_helper_define
rgb defines
2026-08-29 17:46:26 -05:00
Retnuhytnuob f249cb1f09 rgb defines 2026-08-25 00:28:24 -05:00
Retnuhytnuob 56713b66a9 Merge pull request #248 from Retnuhytnuob/disp_consts
Disp Consts; intro Dma consts
2026-08-22 15:46:37 -05:00
Retnuhytnuob b639384ccf Merge pull request #249 from Smileynator/fakematchCleanup-misc
Cleanup of a few fake matches found, now written a bit more logically.
2026-08-22 15:46:12 -05:00
Smileynator bbda761a48 Cleanup of a few fake matches found, now written a bit more logically. 2026-08-22 12:39:06 +02:00
Retnuhytnuob 3b9907f2a6 Merge pull request #247 from Retnuhytnuob/fakematchCleanup-RenderHighScoreSprites
Cleanup RenderHighScoreSprites fakematch
2026-08-22 03:00:35 -05:00
Retnuhytnuob 046a4e7f2a Disp Consts; intro Dma consts 2026-08-22 02:32:12 -05:00
Retnuhytnuob f1b37da2d8 Merge pull request #246 from Retnuhytnuob/pokeballpal
Catch mon/ball palettes
2026-08-22 00:29:01 -05:00
Retnuhytnuob 17d460316c remove unnecessary temp var 2026-08-22 00:26:41 -05:00
Retnuhytnuob 2079804536 m4a asm cleanup 2026-08-21 23:08:42 -05:00
Retnuhytnuob 33aaaeb87e cleanup some minor fakematches 2026-08-21 22:45:27 -05:00
Retnuhytnuob c1265d72b2 Cleanup RenderHighScoreSprites fakematch 2026-08-21 21:13:45 -05:00
Retnuhytnuob ee4cd4bc8f remove unneeded references to gCatchSequencePal# 2026-08-17 01:23:12 -05:00
Retnuhytnuob 8b655cb324 freeze pal usage comment 2026-08-17 01:17:23 -05:00
Retnuhytnuob 2966076363 cleanup 2026-08-17 01:08:55 -05:00
Retnuhytnuob 013b9ac0c9 pokebal pall name updates 2026-08-17 00:58:46 -05:00
Retnuhytnuob 66311140ad Merge pull request #245 from Retnuhytnuob/namingBonusSelectEreader
Naming for Sprite Groups / sets for bonus field select and ereader
2026-08-16 22:17:40 -05:00
Retnuhytnuob d44a615136 Naming for Sprite Groups / sprite sets for bonus field select and ereader 2026-08-15 02:48:31 -05:00
Retnuhytnuob 025082782c Merge pull request #243 from Retnuhytnuob/dma_pal_consts, bg_char/screen consts.
DMA consts: Palettes and bgTile CHAR addressing.
2026-08-14 03:37:11 -05:00
Retnuhytnuob f3f8ba893d last of the Pals 2026-08-14 03:15:20 -05:00
Retnuhytnuob 78d8fc3475 Merge branch 'pret:master' into dma_pal_consts 2026-08-14 00:55:05 -05:00
Retnuhytnuob 3d46ef658a Merge pull request #244 from Cyphgirl/extract-rom-header
Updating this to match what is seen in a handful of repos in pret for this area. 
Since the header is built as part of the make, and replaced, the specific data isn't actually needed here.
Also, this fully removes the text referencing the rom entirely, rather than mentioning being able to build on its own. (implied, by the lack of mention)

Rom still builds and, importantly, does the compare check even without the reference file.
2026-08-14 00:36:02 -05:00
Retnuhytnuob 24ce19d4bd Match Emerald's decomp style for this area. 2026-08-14 00:11:55 -05:00