Commit Graph

2550 Commits

Author SHA1 Message Date
Hedara 4d2220e623 Clean up sSpriteRanges 2026-05-31 21:23:36 +02:00
SiliconA-Z 9bbcab4b06 Remove modern compiler warning by removing fakematches (#742)
Aggressive optimizations warning was flagging these two files.

For image processing effects I just copy-pasted pokeemerald.
2026-03-23 07:55:42 -05:00
SiliconA-Z d559eb56ce Mark some changes of REVISION >= 0xA to be UBFix. (#738)
Turns out emerald already has some of these changes, defined as UBFIX, so let's add them here too, and I will port the     if ((llFrameSize_p && subFrameSize > *llFrameSize_p) || subFrameSize <= frameSize) while we are at it.
2026-03-23 07:49:56 -05:00
SiliconA-Z c1d63525d2 Simplify SetObjectSubpriorityByElevation (#737)
* Simplify SetObjectSubpriorityByElevation

* 0xFF
2026-03-23 07:47:11 -05:00
Estellar 5bbc876c44 sSpriteImages_Emoticons now uses overworld_frame (#700) 2026-03-22 08:49:38 -05:00
cawtds aa283c9993 document pokemon special anim (#710) 2026-03-22 08:42:13 -05:00
Squeetz 844785f850 Document m4a xcmd 12 (#699)
Waits n frames. Used by Pokémon cries.
2026-03-22 08:31:21 -05:00
Frank DeBlasio aac6ebbc27 Fix object event graphic names (#731)
* Fixed object event graphic names

* Updated files and other variable names

* Fix from finding and replacing without matching case

* spritesheet updates

* Update flag name

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2026-03-22 08:28:44 -05:00
cawtds 59bf609685 combine palettes (#723) 2026-03-22 08:26:24 -05:00
cawtds 7bf571e26a fix ub for forced link movement (#732) 2026-03-22 08:11:16 -05:00
SiliconA-Z 37d50c4c19 Fix differences in battle_message.c (#736) 2026-03-21 19:35:01 -05:00
SiliconA-Z 590d5a6f7b Have GetAvailableObjectEventId match in all versions (#735)
agbcc probably was affected by whatever assert was in whatever file in here and generated different code.
2026-03-21 19:05:35 -05:00
SiliconA-Z 3eac222192 Fix matching (#734) 2026-03-21 17:41:02 -05:00
SiliconA-Z 891e203ded Simplify DynamicPlaceholderTextUtil_Reset (#719)
Replace the pointer-based do/while and intptr_t casts with a simple indexed for-loop that sets each element of sStringPointers to NULL.
2026-03-21 17:20:00 -05:00
Rairii 8f00ac8fe6 Add revision 10 changes (#722)
* revision 10 changes

* add rev10 to github actions

* add no-intro entry for leafgreen rev10
2026-03-21 16:12:48 -05:00
SiliconA-Z 7e3f822652 CopyValue functions should involve volatile accesses (#720)
* CopyValue functions should involve volatile accesses

These are writing to specific registers in memory that are memory mapped to do things, so we cannot do any optimizations here regarding memory.

* match pokeemerald's style

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2026-02-22 08:48:40 -06:00
GriffinR 4f5fe2a279 Fix incorrect MAPSEC limit for map names 2025-07-16 02:45:26 -04:00
GriffinR 6702a58f7c Convert substitute back sprite data to png 2025-07-13 13:02:58 -04:00
Jaizu 507f1d8d36 Modern fixes (#697) 2025-06-11 14:27:42 -04:00
GriffinR f60d28ceb5 Merge pull request #693 from pret/porymap-6
Update for Porymap 6
2025-05-27 10:53:27 -04:00
GriffinR 8701517755 Merge pull request #694 from LOuroboros/startMenuSave
Linked STARTMENU labels to the entries of sStartMenuActionTable
2025-05-20 20:53:37 -04:00
GriffinR c0036919b0 Add NUM_TILES_PER_METATILE 2025-05-18 14:22:42 +08:00
LOuroboros 3efb581e7e Linked STARTMENU labels to the entries of sStartMenuActionTable
This makes it easier to remove options from the start menu at will.
Looking for a STARTMENU label and removing it from enum StartMenuOption and the SetUpStartMenu functions isn't good enough by itself.
2025-05-15 04:39:59 -03:00
GriffinR 82d2283108 Merge branch 'master' of https://github.com/pret/pokefirered into porymap-6 2025-05-14 11:52:22 -04:00
GriffinR 5f9f173b6a Generate heal location constants automatically, move data back to a single file. 2025-02-03 16:00:29 -05:00
GriffinR bf6bfbd2ed Merge pull request #668 from Kurausukun/pockets
Add Constant for 3 Main Bag Pockets
2025-02-03 12:29:05 -05:00
cawtds 355b92f791 consolidate arrow tiles (#682) 2025-02-03 12:19:40 -05:00
Kevin d844877218 Rename the Move Relearner specials. (#684) 2025-01-19 14:14:55 -05:00
GriffinR 587d494421 Merge branch 'porymap-6' into generate-map-constants 2024-12-17 20:48:28 -05:00
GriffinR b10c2f7584 Merge branch 'master' of https://github.com/pret/pokefirered into porymap-6 2024-11-26 12:47:28 -05:00
GriffinR 2a3e92e10f Sync Makefile and common syms (#676) 2024-11-26 12:46:12 -05:00
GriffinR d4eee4692f Generate region_map_sections from JSON (#677) 2024-11-26 12:45:53 -05:00
GriffinR b76867fc3b Replace incorrect Japanese characters 2024-11-19 19:35:18 -05:00
GriffinR 50babdb07f Move local IDs to map.json 2024-10-15 02:51:08 -04:00
GriffinR 4dc5c47799 OBJ_EVENT_ID_PLAYER/CAMERA -> LOCALID_PLAYER/CAMERA 2024-10-14 22:48:30 -04:00
GriffinR bb50006fc9 Move heal locations data to their associated map.json (#673) 2024-10-11 15:17:18 -04:00
GriffinR d45b94ea64 Merge branch 'master' of https://github.com/pret/pokefirered into porymap-6 2024-09-18 19:40:41 -04:00
GriffinR 311d317eb3 Merge pull request #672 from GriffinRichards/sync-toolchain
Sync Makefile and tools with pokeemerald
2024-09-18 19:40:16 -04:00
GriffinR 93b4a7b815 Toolchain sync fixes 2024-09-12 17:49:50 -04:00
GriffinR 539ed36160 Merge pull request #662 from cawtds/ub-fix-battle-transition
UB fix in battle_transition.c
2024-08-29 14:18:26 -04:00
GriffinR caf8c6bfa9 Merge pull request #670 from abcboy101/decode
Update link_rfu_2.c
2024-08-29 14:16:53 -04:00
GriffinR 4f7b8c5e9e Merge pull request #663 from cawtds/ub-fix-camera-object
Fix for potential UB in CameraObjectReset2
2024-08-29 14:11:58 -04:00
GriffinR 5e464c2091 Sync map macro change with pokeemerald 2024-08-27 13:57:07 -04:00
abcboy101 6319b453bc Update link_rfu_2.c 2024-08-24 22:19:28 -04:00
Kurausukun bceff5fb5f add constant for 3 main bag pockets 2024-08-12 14:33:52 -04:00
cawtds 466a69a6e0 Update src/event_object_movement.c
Co-authored-by: GriffinR <griffin.g.richards@gmail.com>
2024-08-10 20:41:21 +02:00
abcboy101 588e164e67 Decode unused JP text 2024-08-09 20:19:38 -04:00
cawtds d61220569d fix for potential UB in CameraObjectReset2 2024-06-27 16:13:17 +02:00
cawtds e6eb717275 UB fix ClockwiseWipe_TopRight 2024-06-25 22:09:08 +02:00
Kurausukun 6bd758f45d fix compilation on gcc 14 2024-06-06 23:22:37 -04:00