Commit Graph

8108 Commits

Author SHA1 Message Date
AZero13
201378bdc0 Make sSpriteCopyRequests MAX_SPRITE_COPY_REQUESTS for consistency (#2351)
Some checks failed
CI / build (push) Has been cancelled
2026-08-20 17:50:35 +01:00
AZero13
9a83a2bbe8 Alleviate some fakematches in battle_util.c (#2346)
Some checks failed
CI / build (push) Has been cancelled
2026-08-04 05:35:46 +01:00
cawtds
98b522cda9 ubfix for strict aliasing violation (#2341) 2026-08-04 05:35:12 +01:00
AZero13
83df84e406 Fix Mugshot_ShowBanner fakematch relying on merged stores (#2336)
Some checks failed
CI / build (push) Has been cancelled
If the fields ever change in proximity to each other, this breaks, so this fakematch must be fixed.
2026-06-27 06:33:45 +01:00
Martin Griffin
c948da6df8 Remove PokenavListSub (#2317) 2026-06-26 22:50:18 -04:00
GriffinR
2509ad8073 Merge pull request #2337 from fdeblasio/fixBubblebeamSpelling
Fixed BubblebeamCreateBubbles spelling
2026-06-26 22:44:39 -04:00
Frank
091c147428 Fixed BubblebeamCreateBubbles spelling 2026-06-26 22:16:13 -04:00
aichiya
9b94f654cf PSG Wave should be aligned (#2335)
Some checks are pending
CI / build (push) Waiting to run
2026-06-26 07:19:11 +01:00
psf
ebd27892ff comparison operators now use enum instead of raw numbers (#2334)
Some checks failed
CI / build (push) Has been cancelled
2026-06-24 13:43:43 -04:00
GriffinR
8864b7b0b4 Merge pull request #2239 from kittenchilly/timer-ball-bugfix
Some checks are pending
CI / build (push) Waiting to run
BUGFIX: Use the unique fully open Timer Ball sprite
2026-06-23 23:38:29 -04:00
GriffinR
81a28d6f57 Merge pull request #2100 from GriffinRichards/enc-constants
Generate `include/constants/wild_encounter.h` automatically
2026-06-23 23:34:14 -04:00
GriffinR
ac301324fb Generate encounter slot total constants 2026-06-23 23:27:06 -04:00
GriffinR
ac35f6695d Generate ENCOUNTER_CHANCE constants separately from encounter data 2026-06-23 23:27:02 -04:00
GriffinR
24596b0aa9 Merge pull request #2282 from ketsuban/how-many-status1-bits-are-there-again
Mention the width of RAM variables in constants/battle.h
2026-06-23 23:23:05 -04:00
GriffinR
199faad80f Merge pull request #2321 from mrgriffin/pret-getmondata-expansion
Replace Get(Box)MonData2 aliases with functions in UBFIX builds
2026-06-23 23:15:43 -04:00
GriffinR
d8c7839fa0 Merge pull request #2324 from mrgriffin/pret-pp
s/Pp/PP/g
2026-06-23 23:14:05 -04:00
GriffinR
84c2210e8b Merge pull request #2331 from mrgriffin/pret-sprite-bool
Some checks are pending
CI / build (push) Waiting to run
AddSpriteToOamBuffer: TRUE/FALSE
2026-06-23 16:45:37 -04:00
GriffinR
263e0fb37f Merge pull request #2332 from mrgriffin/pret-pokelot-prize-item
ResetLotteryCorner: VAR_POKELOT_PRIZE_ITEM contains an item ID
2026-06-23 16:44:52 -04:00
Martin Griffin
e45e6c0851 AddSpriteToOamBuffer: TRUE/FALSE
tbh I think it would be helpful to separate 'bool*' into two types:
- bool* { FALSE, TRUE }
- error* { SUCCESS, ERROR }

I find it really counterintuitive to read/write functions that return
'FALSE' for success.
2026-06-23 21:28:13 +01:00
Martin Griffin
a7edc05325 ResetLotteryCorner: VAR_POKELOT_PRIZE_ITEM contains an item ID 2026-06-23 21:27:47 +01:00
Martin Griffin
e56dfdbc2b s/Pp/PP/g 2026-06-19 09:26:15 +01:00
Martin Griffin
13ac1fdc8f Replace Get(Box)MonData2 aliases with functions in UBFIX builds 2026-06-17 21:49:28 +01:00
AZero13
c2dcc629fd Fix UB in battle_anim_ground (#2273)
Some checks failed
CI / build (push) Has been cancelled
gBattleAnimArgs is 8 elements, not 15.

Co-authored-by: AZero13 <83477269+SiliconA-Z@users.noreply.github.com>
2026-06-17 20:36:43 +01:00
GriffinR
46b1988a20 Merge pull request #2280 from mrgriffin/pret-press-start
Some checks are pending
CI / build (push) Waiting to run
Rearrange press_start.png
2026-06-17 13:43:16 -04:00
Martin Griffin
5a9f566bbd Minor cleanups (#2318)
* Cleanup commas in .macro

* Cleanup src/item_use.c post #2313

* Cleanup src/fieldmap.c post #2314

* s/int/s32/g in fieldmap.h/fieldmap.c

* Cleanup src/battle_pyramid.c post #2310

* Cleanup src/battle_anim_effects_2.c post #2266
2026-06-17 15:36:35 +01:00
AZero13
9424eaf622 Fix fakematch in AnimMissileArc_Step (#2267)
Co-authored-by: AZero13 <83477269+SiliconA-Z@users.noreply.github.com>
2026-06-17 15:25:38 +01:00
AZero13
5b621f1819 Fix MoveItemSlotInList fakematch (#2260)
Co-authored-by: AZero13 <83477269+SiliconA-Z@users.noreply.github.com>
2026-06-17 14:48:29 +01:00
Martin Griffin
030b1781cd Cleanup src/battle_anim_effects_2.c post #2266 2026-06-17 14:36:52 +01:00
Martin Griffin
f1c806b31d Cleanup src/battle_pyramid.c post #2310 2026-06-17 14:35:40 +01:00
Martin Griffin
059268950f s/int/s32/g in fieldmap.h/fieldmap.c 2026-06-17 14:35:40 +01:00
Martin Griffin
b48256a074 Cleanup src/fieldmap.c post #2314 2026-06-17 14:35:40 +01:00
Martin Griffin
ed2da75f43 Cleanup src/item_use.c post #2313 2026-06-17 14:35:40 +01:00
Martin Griffin
167b05f2a7 Cleanup commas in .macro 2026-06-17 14:35:40 +01:00
AZero13
8a702fb8fd Fix weird fakematches in src/battle_anim_effects_2.c (#2266)
Co-authored-by: AZero13 <83477269+SiliconA-Z@users.noreply.github.com>
2026-06-17 14:35:25 +01:00
AZero13
8f0ec532e7 Fix fakematchings and warnings in overworld.c (#2275)
Co-authored-by: AZero13 <83477269+SiliconA-Z@users.noreply.github.com>
2026-06-17 14:29:59 +01:00
Martin Griffin
933cb969b2 Rearrange press_start.png 2026-06-17 14:14:19 +01:00
AZero13
80f23292d2 Make data1 and learnMoveState an array to prevent UB (#2284)
Fixes https://github.com/pret/pokeemerald/issues/2102
2026-06-17 14:09:24 +01:00
AZero13
a545d575ef Fix fakematches in battle pyramid (#2310)
In modern, it also decreases instruction count by 1.

Co-authored-by: Mike-Goutokuji <83477269+mike-goutokuji@users.noreply.github.com>
2026-06-17 12:55:38 +01:00
AZero13
305a831b2d Use DMA Macros more consistently (#2309)
I also had to move the check to first for some places to match.

Co-authored-by: Mike-Goutokuji <83477269+mike-goutokuji@users.noreply.github.com>
2026-06-17 11:51:53 +01:00
AZero13
2da84f7e3c Simplify and const-correct fieldmap.c (#2314)
Changing MapGridGetMetatileIdAt to output int also reduces number of casts

Co-authored-by: Mike-Goutokuji <83477269+mike-goutokuji@users.noreply.github.com>
2026-06-17 11:37:16 +01:00
AZero13
f901611773 Remove unneeded u16 casts in item_use.c (#2313)
Some checks are pending
CI / build (push) Waiting to run
Co-authored-by: Mike-Goutokuji <83477269+mike-goutokuji@users.noreply.github.com>
2026-06-17 11:10:19 +01:00
Estellar
0eda6d14e9 Add TextPrinterCallback (#2306)
Some checks failed
CI / build (push) Has been cancelled
2026-06-11 18:54:19 +01:00
mike-goutokuji
a90ff9c3d4 Const qualify walda_phase (#2304)
Some checks are pending
CI / build (push) Waiting to run
2026-06-11 15:56:16 +01:00
mike-goutokuji
2c8d157658 Fix SetObjectSubpriorityByElevation fakematch (#2259)
Some checks failed
CI / build (push) Has been cancelled
2026-06-04 16:32:36 +01:00
FosterProgramming
4b6a69ae24 Rename daycare special to account for string side effects (#2287)
Some checks are pending
CI / build (push) Waiting to run
2026-06-04 12:08:01 +01:00
hedara90
b1d9308623 Clean up sSpriteTileRanges (#2299)
Some checks failed
CI / build (push) Has been cancelled
Co-authored-by: Hedara <hedara90@gmail.com>
2026-05-31 19:30:49 +01:00
GriffinR
a6941e1bec Merge pull request #2298 from mrgriffin/pret-fix-event-script-typos
Some checks failed
CI / build (push) Has been cancelled
Fix typos in event script labels
2026-05-28 11:38:48 -04:00
Martin Griffin
c46e53bd02 Fix typos in event scripts 2026-05-28 15:14:36 +01:00
William Jackson
2d29864375 Bugfix: ensure move is correctly read (#2297)
Some checks are pending
CI / build (push) Waiting to run
2026-05-27 17:14:19 +01:00
FosterProgramming
0d3100185e Rename mass outbreak show to distinguish from savefile outbreakDaysLeft (#2288)
Some checks failed
CI / build (push) Has been cancelled
2026-05-15 21:51:57 -04:00