8 Commits
Author SHA1 Message Date
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
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
SiliconA-ZandMarcus Huderle 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