Commit Graph

3838 Commits

Author SHA1 Message Date
LumioseSil
0e14ff8084
Merge 93d7f849ca into e060ab955b 2026-04-27 21:33:12 +00:00
LumioseSil
93d7f849ca
Whole 0xA version should be UBFIX just in case 2026-04-27 17:33:08 -04:00
Marcus Huderle
e060ab955b Implement remaining MEMACC commands
Some checks failed
CI / build (push) Has been cancelled
2026-04-08 18:57:15 -05:00
SiliconA-Z
3e34bee0a6
Formatting 2026-04-02 14:28:44 -04:00
SiliconA-Z
a0c8783552
Fix white space 2026-04-02 14:27:49 -04:00
SiliconA-Z
abf372f1f5
Remove unrelated change 2026-04-02 14:25:18 -04:00
Marcus Huderle
69e963fbb8 Adjust loop markers and track channels for .mid files.
Some checks failed
CI / build (push) Has been cancelled
- The loop markers now use meta event 0x6 (Marker) rather than 0x1 (Text Event)
- Each track now output midi events on separate midi channels, like pokeemerald.
2026-03-28 08:40:35 -05:00
AZero13
651e84f2d1 Fix fake match introduced by Revision 0xA in wireless_communication_status
So one of the emerald UBFixes mentions that 0xFF can happen, and mentions that GROUPTYPE_NONE is 0xFF, and shouldn't be used as an index into groupCounts. It mentions that int theory the only activity with this group type (ACTIVITY_SEARCH) wouldn't satisfy the condition below, but not necessarily.

Well, revision A of FRLG fixes this but has an even broader check, by skipping ALL invalid values by adding a range check. For this reason, I have also opted to do || UBFIX.
2026-03-24 13:20:22 -04:00
SiliconA-Z
9bbcab4b06
Remove modern compiler warning by removing fakematches (#742)
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks are pending
CI / build (push) Waiting to run
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
Jademalo
cf4f0ce152
Sync DWARF debug sections (#728) 2026-03-22 08:23:21 -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)
Some checks are pending
CI / build (push) Waiting to run
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)
Some checks are pending
CI / build (push) Waiting to run
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
Marcus Huderle
7b745dc283 Fix rev10's ld_script 2026-03-21 16:47:47 -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
Marcus Huderle
0a86141109 Convert all of the remaining .s files to .midi 2026-03-21 11:07:20 -05:00
Marcus Huderle
45c0c01f14 Convert most .s files to .midi 2026-03-21 10:24:50 -05:00
SiliconA-Z
7e3f822652
CopyValue functions should involve volatile accesses (#720)
Some checks failed
CI / build (push) Has been cancelled
* 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
Marcus Huderle
7cf14a8e9e Fix CI 2026-02-22 08:42:04 -06:00
Marcus Huderle
338ec9d956
Update .wav samples to use 'agbl' chunk to accomodate for vanilla's off-by-one loop end behavior (#712)
Some checks failed
CI / build (push) Has been cancelled
2025-12-28 09:10:08 -06:00
Marcus Huderle
14b76daff8
Convert .aif files to .wav (#711)
Some checks failed
CI / build (push) Has been cancelled
* Migrate .aif files to .wav

* cleanup
2025-12-01 09:01:35 -06:00
GriffinR
7299efd381
Merge pull request #709 from PikalaxALT/ignore-cmake-clangd
Some checks failed
CI / build (push) Has been cancelled
Ignore CMakeLists.txt and cmake/clangd artifacts
2025-11-16 20:47:49 -05:00
PikalaxALT
b0f9143049
Ignore CMakeLists.txt and cmake/clangd artifacts 2025-11-16 20:39:37 -05:00
GriffinR
287b37eed2 Remove some make rules copied from pokeemerald
Some checks failed
CI / build (push) Has been cancelled
2025-10-26 17:49:30 -04:00
GriffinR
4f5fe2a279 Fix incorrect MAPSEC limit for map names
Some checks failed
CI / build (push) Has been cancelled
2025-07-16 02:45:26 -04:00
GriffinR
6702a58f7c Convert substitute back sprite data to png
Some checks are pending
CI / build (push) Waiting to run
2025-07-13 13:02:58 -04:00
Jaizu
507f1d8d36
Modern fixes (#697)
Some checks failed
CI / build (push) Has been cancelled
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
32fdf48b0f
Merge pull request #695 from RubyRaven6/ruby-misc
Add NUM_TILES_PER_METATILE
2025-05-20 20:51:51 -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
d61f959453
Merge pull request #690 from pret/bugfix/keep_temps_in_builddir
Some checks failed
CI / build (push) Has been cancelled
.i and .s files should be under build/ when KEEP_TEMPS=1
2025-03-08 02:05:57 -05:00
PikalaxALT
7f7ff65e06
.i and .s files should be under build/ when KEEP_TEMPS=1 2025-03-07 20:29:16 -05:00
GriffinR
7722e7a92c
Merge pull request #685 from GriffinRichards/heal-locations-file
Generate heal location constants automatically
2025-02-21 12:52:53 -05:00
GriffinR
5f9f173b6a Generate heal location constants automatically, move data back to a single file. 2025-02-03 16:00:29 -05:00
GriffinR
65be523af2
Merge pull request #675 from GriffinRichards/generate-map-constants
Generate local IDs from map.json files
2025-02-03 12:48:49 -05:00
GriffinR
bf6bfbd2ed
Merge pull request #668 from Kurausukun/pockets
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks failed
CI / build (push) Has been cancelled
2025-01-19 14:14:55 -05:00