Commit Graph

5304 Commits

Author SHA1 Message Date
AZero13 04feeffeda Fix broken missing return.
We forgot the return here, but we need it or else it is UB.
2026-04-04 23:56:25 -04:00
SiliconA-Z 61674ecd4b Remove ... INT_MAX from bg.c (#2255)
Serves no purpose and is annoying
2026-03-26 07:00:08 +00:00
Estellar efc1514128 Add C23's %b to DebugPrintf (#2246) 2026-03-22 21:24:19 +00:00
Marky 25ffb2c12c Add enum for Elevations (#2233) 2026-02-20 01:17:42 -05:00
Frank DeBlasio 064ca5c243 Added macro for Surf/Muddy Water's animation (#2232) 2026-02-06 10:08:20 -05:00
GriffinR 63390a940e Merge pull request #2226 from fdeblasio/matchCallDocumentation
Improved Match Call text variables
2026-02-01 13:16:34 -05:00
Martin Griffin f0b5abe290 Merge pull request #2070 from mrgriffin/battle-anim-cmd-args
Partially document battle animation scripts
2026-01-19 19:14:16 +00:00
Martin Griffin 22eed3f4bf Partially document battle_anim_effects_1.c 2026-01-19 09:16:37 +00:00
Martin Griffin 0e415dde46 Document battle_anim_dragon.c 2026-01-19 09:16:37 +00:00
Martin Griffin 5d713ad9bb Document battle_anim_dark.c 2026-01-19 09:16:37 +00:00
Martin Griffin 050a9415c7 Document battle_anim_bug.c 2026-01-19 09:16:37 +00:00
Martin Griffin e09423fadf Document battle_anim_normal.c 2026-01-19 09:16:37 +00:00
Frank 80db2c6aec Renamed building and stadium palettes to be more accurate 2026-01-18 18:19:03 -05:00
Frank 902a37ef23 Added MATCH_CALL_TEXT_END define 2026-01-18 18:18:28 -05:00
Frank 294a1b88a2 Replaced two more instances of flag 2026-01-18 18:18:28 -05:00
Frank 509f652ac6 Added defines for 0xFFFF 2026-01-18 18:18:28 -05:00
Frank cc882e5de2 Added more descriptive names for Match Call text flags 2026-01-18 18:18:28 -05:00
GriffinR 6eb688876d Merge pull request #2223 from estellarc/pret/avatar-to-state
`sPlayerAvatarGfxToStateFlag` structure documentation
2026-01-03 22:20:34 -05:00
Estellar edc7399104 sPlayerAvatarGfxToStateFlagstructure 2026-01-03 21:49:12 -03:00
GriffinR b4abc6b5ce Merge pull request #2124 from cawtds/fix-active-battler-ub
ub fix for OOB access with gActiveBattler
2026-01-03 14:26:03 -05:00
Bassoonian a5ee0f2727 ItemTMHMOrEvolutionStone enum (#2192) 2026-01-02 20:59:12 +00:00
cawtds b11741855d Add enum for battle script opcodes (#2222) 2026-01-02 20:19:01 +00:00
Martin Griffin 13b7dc4401 Document UpdateLegendaryMarkingColor (#2221) 2025-12-30 14:39:09 -05:00
Jaizu daf63255a6 Fix some typos 2025-12-27 15:06:33 +01:00
Josh 349da0484b Document m4a xcmd_0C 2025-12-27 01:11:40 +00:00
Martin Griffin b0d2642e56 Merge pull request #2215 from shachar700/pokenav-glow
Fixed pokenav glow issue
2025-12-26 08:58:16 +00:00
shachar700 5240ee1515 Added comment 2025-12-10 13:51:47 +02:00
Mitsunee 02c44242f8 Added bugfix for missing no weather case in Cmd_weather_get (#2203) 2025-12-09 22:22:08 -05:00
GriffinR f0e351b33d Merge pull request #2171 from ShinyDragonHunter/unused_funcs
Label unused functions in siirtc.c, m4a.c & rtc.c with the "UNUSED" attribute
2025-12-09 22:14:57 -05:00
GriffinR 6afcefe8f1 Merge pull request #2074 from GriffinRichards/fix-trainer-decompress
Add fix for possible crash when decompressing trainer back pics
2025-12-09 21:59:13 -05:00
GriffinR cc7327d620 Merge pull request #2177 from NTx86/gba-fix-list-menu-item-alloc
Fix sScrollableMultichoice_ListMenuItem allocation size magic number
2025-12-09 21:47:39 -05:00
GriffinR 90081e4847 Merge pull request #2178 from FosterProgramming/pret_update
Name pokemon summary screen remaining unnamed symbols
2025-12-09 21:46:51 -05:00
shachar700 eb1a6d311a fixed pokenav glow issue 2025-12-04 23:34:36 +02:00
mitsunee afa42f5d29 Standardize spelling of "paralyze" 2025-11-19 21:19:15 +01:00
mitsunee c0569cd529 Standardize spelling of "synchronize" 2025-11-19 21:14:45 +01:00
Martin Griffin c5bbaeab5d STATIC_ASSERT for sizeof(struct ListMenu) 2025-11-18 00:34:07 +01:00
mitsunee 73ec0813e1 Standardize spelling of "canceler"
just a quick grep -r and regex substitution, but didn't see anything wrong in the diffs during a quick proofread
2025-11-15 12:11:32 +01:00
psf fdcaac9175 Added some music documentation (#2198) 2025-11-06 09:27:16 +00:00
Estellar 1de27646d2 Remove magic numbers in slot_machine.c (#2195) 2025-10-28 09:19:12 +00:00
DavidJCobb 7fd0029ed7 Add typedefs for MAPSEC and METLOC values (#2183)
Added typedefs: mapsec_t, metloc_t, and variants for MAPSEC and METLOC values. There are some rough edges that could do with smoothing out, but for now, this gets us close to ideal with a ROM that compares equal.

Per feedback, all typedefs to mention the underlying type within the typedef name. The documentation comments reflect and explain the naming convention.

Updated comments to reflect the fact that we're no longer using SET8 for a Pokemon's met locations, in favor of a new macro (added by this PR) that adjusts to match the width of whatever is being set.
2025-10-19 17:37:13 +01:00
Estellar 0965dffe70 Use TaskFunc wherever posible (#2188) 2025-10-18 17:53:50 +01:00
Estellar f4f7c38255 Use MainCallback wherever posible (#2184) 2025-10-14 09:41:27 +01:00
FosterProgramming d05742ca05 Fix include order in wild_encounter.c (#2185) 2025-10-14 09:36:32 +01:00
FosterProgramming 9c8cfe3b75 Fix include order in src/clock.c to be alphabetical (#2181) 2025-09-13 17:49:36 +01:00
FosterProgramming 276275f837 Fix 3 spaces tabs in field_message_box.c (#2179) 2025-09-10 06:44:14 +01:00
Jamie Foster b6742bac1c Name pokemon summary screen remaining unnamed symbols 2025-09-02 23:14:22 +02:00
NT_x86 769e128cc9 fix sScrollableMultichoice_ListMenuItem alloc size 2025-09-01 13:52:46 +03:00
Alex 208f97e1e3 Rename passive damage hitmarker (#2174) 2025-08-21 13:43:19 +01:00
GriffinR 92f7727a60 Merge pull request #2107 from AsparagusEduardo/pret/pr/simpleMultiBattleFix
Simplified Multi Battle bugfix, removing duplicate code
2025-08-14 15:09:42 -04:00
Josh 6cc878919d Identify unused functions in siirtc.c, m4a.c & rtc.c
"SiiRtcSetAlarm" in siirtc.c, the "FormatHex" functions in rtc.c and "UnusedDummyFunc", m4aSongNumStartOrContinue", m4aSongNumContinue", "MusicPlayerJumpTableCopy" in m4a.c are all unused in vanilla so they've been changed to use the "UNUSED" attribute.
2025-08-09 20:57:59 +01:00