Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
490 commits
Select commit Hold shift + click to select a range
b0f922d
Adds type checking for battler positions (#8792)
Bassoonian Jan 11, 2026
78ccd6b
Fix capture using strange ball (#8874)
FosterProgramming Jan 11, 2026
e587cff
Refactor exchange service corner (#8840)
fdeblasio Jan 11, 2026
e04f715
Fix ability name printing for trainer mon ability assertf (#8877)
hedara90 Jan 11, 2026
4df7982
Merge branch '_RHH/master' into _RHH/pr/upcoming/masterMerge
AsparagusEduardo Jan 11, 2026
46e2396
Merge branch '_RHH/master' into _RHH/pr/upcoming/masterMerge
AsparagusEduardo Jan 11, 2026
c631ea1
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/masterMerge
AsparagusEduardo Jan 11, 2026
a611ed9
Fix Comatose test, thanks Jamie
AsparagusEduardo Jan 11, 2026
3195480
Master to upcoming, 2026-01-11 (#8880)
hedara90 Jan 11, 2026
3dfef14
Fix Gen 4 Taunt for upcoming (#8878)
amiosi Jan 11, 2026
6aaf5d4
cleanup GetMon Null Data Instances (#8867)
Meister-anon Jan 11, 2026
a15d9a8
Adding move animation backgrounds to the Pokemon Sprite Visualizer (#…
fdeblasio Jan 11, 2026
835a89a
Sprite Visualizer font update (#8883)
fdeblasio Jan 11, 2026
12bf8da
Fixed an issue where double targeting a Pokemon on a single mon party…
LinathanZel Jan 12, 2026
df69d1e
Updated Lemonade's description's formatting to match the rest of the …
fdeblasio Jan 12, 2026
36701d2
Fix wrong getter in GetSwitchinStatusDamage (#8896)
Bassoonian Jan 12, 2026
d9b3144
Follow up for anim issue in doubles (#8894)
AlexOn1ine Jan 12, 2026
5504698
Add setpreattackadditionaleffect and use it for brick break / spectra…
AlexOn1ine Jan 12, 2026
6dfcde7
Decoupled trainer gender from encounter music (#8892)
fdeblasio Jan 12, 2026
36119e4
More contest code consolidation (#8889)
fdeblasio Jan 12, 2026
439e19f
Fix Daycare party select with `ChooseBoxMon` (#8845)
AsparagusEduardo Jan 13, 2026
481e037
Gen 3 Lax Incense (#8864)
amiosi Jan 13, 2026
4c4255f
Add Legends Z-A cries (#8151)
LinathanZel Jan 13, 2026
e0b4e7b
Merge branch 'master' into master-to-upcoming
Jan 13, 2026
f3f4b06
Add config flag to skip save overwrite confirmation (#8659)
spindrift64 Jan 13, 2026
bb41e56
Refactor move target failure (#8696)
AlexOn1ine Jan 13, 2026
533d649
Master to upcoming, 2026-01-13 (#8909)
AlexOn1ine Jan 13, 2026
550fe9a
Refactor pokerus and add configs (#7731)
FosterProgramming Jan 14, 2026
786c3d9
Battle file cleanup & documentation (#8903)
Bassoonian Jan 14, 2026
8c4fa6e
Refactor multi test system trainer party allocation and adds enum Bat…
grintoul1 Jan 14, 2026
b14e22d
Standardized item indentation (#8913)
fdeblasio Jan 15, 2026
46c690d
Fix brackets in SetMoveEffect (#8922)
AlexOn1ine Jan 15, 2026
ef48a4d
Change HP bar color calculation from pixel-width to actual values (#8…
Kasenn Jan 15, 2026
4ccf011
Allow renaming and move relearning from box summary screen (#8854)
kittenchilly Jan 15, 2026
a8df4c5
Apply some cases of `STATUS1_ICY_ANY` (#8924)
AsparagusEduardo Jan 15, 2026
bcae4e2
Restore natural 0 battle TV score (#8901)
AsparagusEduardo Jan 15, 2026
31d3e5f
Add missing cries for Cramorant-Gulping, Cramorant-Gorging, Oinkologn…
LinathanZel Jan 16, 2026
de7aaf8
Misc battle engine changes (#8931)
AlexOn1ine Jan 16, 2026
36fcd9c
Adds ``Item`` enum (#8897)
Bassoonian Jan 17, 2026
9023b20
Add sprite fill function taking a sprite as argument (#8940)
hedara90 Jan 17, 2026
07232f9
Remove assert for surpassing total ev cap (#8938)
FosterProgramming Jan 17, 2026
f0c7907
Consolidated `HandleStatusIconUpdate` (#8925)
AsparagusEduardo Jan 17, 2026
925d929
AI avoids Protect against Unseen Fist and protection‑ignoring moves (…
Cle-bit Jan 18, 2026
258cc08
`GetBattleTrainer` -> `GetBattlerTrainer` (#8952)
AsparagusEduardo Jan 18, 2026
8d059cf
Change randomweightedarray to use u16 weights instead of u8 (#8934)
FosterProgramming Jan 18, 2026
6c8358c
New White Stripe Basculin Sprites (#8926)
SabataLunar Jan 18, 2026
aabdf17
Fix file endings for White-Stripe Basculin palettes (#8956)
hedara90 Jan 18, 2026
cc882e5
Added more descriptive names for Match Call text flags
fdeblasio Jan 18, 2026
509f652
Added defines for 0xFFFF
fdeblasio Jan 18, 2026
294a1b8
Replaced two more instances of flag
fdeblasio Jan 18, 2026
902a37e
Added MATCH_CALL_TEXT_END define
fdeblasio Jan 18, 2026
f75f7e9
Cleanup healthbox printing (#8958)
hedara90 Jan 19, 2026
058c46a
Refactor Lilycove quiz and favor ladies (#8929)
fdeblasio Jan 19, 2026
7b4eb6c
Poke Ball consolidation (#8962)
fdeblasio Jan 19, 2026
922db5c
Move adjustdamage to the damage calc (#8948)
AlexOn1ine Jan 20, 2026
6b63ebf
Add missing sprite fill functions (#8975)
hedara90 Jan 20, 2026
f1067bf
Fix winning moves (#8978)
FosterProgramming Jan 20, 2026
f10204a
Fix checking for rare move in disabled species (#8977)
FosterProgramming Jan 20, 2026
2c2cfc5
AI sees No Guard prevents having Semi Invulnerability. (#8586)
surskitty Jan 20, 2026
25ea523
Fix checking for frontier banned disabled species (#8980)
FosterProgramming Jan 21, 2026
3ceaec2
Add Egg Moves to Pokémon introduced in Legends Arceus (#8982)
LinathanZel Jan 21, 2026
6c05a08
Refactor OHKO Moves (#8916)
AlexOn1ine Jan 21, 2026
da62ebc
Move attack canceler to the move resolution file (#8921)
AlexOn1ine Jan 21, 2026
61f8a50
Add even more type checking (#8972)
Bassoonian Jan 21, 2026
a2c5332
AI uses Tailwind with Wind Rider and Wind Power (#8983)
Cle-bit Jan 21, 2026
fb4c8ef
More type checking across the repo (#8988)
Bassoonian Jan 22, 2026
fe2c154
Refactor chooseboxmon (#8491)
FosterProgramming Jan 22, 2026
2d09384
fix: add `__attribute__((packed))` to `enum Direction` (#8994)
khbsd Jan 23, 2026
feb4d3b
Properly capitalized the comments of new move animations (#9002)
fdeblasio Jan 23, 2026
96e63e7
Fix gender selecting task not waiting for input (#9001)
FosterProgramming Jan 23, 2026
74d8af2
Fix return to field when selecting a move to forget (#9000)
FosterProgramming Jan 23, 2026
b07fe3f
Fixed Link Overworld (#9014)
AsparagusEduardo Jan 25, 2026
eda40c3
Add missing copycatBanned to Mirror Coat (#9016)
fdeblasio Jan 25, 2026
c0be196
Adds assertf for incorrect usage of `end`s, `return`, `call` and sele…
PhallenTree Jan 25, 2026
f8266b8
26/01/26 Master to upcoming merge
AlexOn1ine Jan 26, 2026
501d0e2
26/01/26 Master to upcoming merge (#9029)
grintoul1 Jan 26, 2026
4a4a72f
Added `enum BattlerId` type checks (#8954)
AsparagusEduardo Jan 28, 2026
0c44cc1
Move Target failure follow up (#8986)
AlexOn1ine Jan 28, 2026
e80ae56
Even more battle environment updates (#8835)
fdeblasio Jan 28, 2026
97e83eb
Add FRLG (#7423)
cawtds Jan 28, 2026
db3e5cc
Consolidated common steps for Brick Break, Psychic Fang, and Raging B…
fdeblasio Jan 28, 2026
ea102b3
documentation on how to use frlg (#9045)
cawtds Jan 28, 2026
9afdd69
Fix another FRLG style oversight (#9046)
Bassoonian Jan 28, 2026
b3b56b3
Fix FRLG comment oversight in ``script_cmd_table.inc`` (#9043)
Bassoonian Jan 28, 2026
278739e
Form Change Improvements (#8850)
AsparagusEduardo Jan 28, 2026
c3b462a
Mold Breaker, Last Resort, Assume and Tantrum fixes (#9047)
AlexOn1ine Jan 29, 2026
502ff9e
Fixes Fling Booster Energy being prevented by target Paradox mon (#9050)
PhallenTree Jan 29, 2026
396c64c
30/01/26 Master to upcoming merge
AlexOn1ine Jan 30, 2026
829488e
Merge branch 'upcoming' into master-merge-3
AlexOn1ine Jan 30, 2026
cbebe2d
30/01/26 Master to upcoming merge (#9074)
hedara90 Jan 30, 2026
7dca271
Clean up redundant item assignment after it was stolen (#9044)
AlexOn1ine Jan 30, 2026
b28878d
Fixes wild mon target choice in double battles (#9075)
kildemal Jan 30, 2026
e3321fa
Remove aif2pcm (#9076)
hedara90 Jan 30, 2026
1278ffe
Z-A Mega sprites from PokeCommunity (#8945)
kittenchilly Jan 30, 2026
2daf7e9
Remove trainers_frlg.h from repo for gitignore (#9081)
grintoul1 Jan 30, 2026
a0b8c1f
Fix Electroweb crash by correcting target sprite resolution (#9091)
Cle-bit Jan 31, 2026
109a3cd
Clear Selection Scripts to prevents consequent fails (#9095)
PhallenTree Jan 31, 2026
3c08fac
Fix doubles moves bad / choice lock bad switch AI (#9078)
Pawkkie Jan 31, 2026
c43dd0c
Fix special var collision with battle frontier tutors (#9072)
FosterProgramming Feb 1, 2026
63390a9
Merge pull request #2226 from fdeblasio/matchCallDocumentation
GriffinRichards Feb 1, 2026
bc52fd3
Rename ow_synchronize.c (#9097)
FosterProgramming Feb 2, 2026
46ccdd7
Fix statement after label issue in chooseboxmon (#9093)
FosterProgramming Feb 2, 2026
45410b9
Delete irrelevant battle type comments for expansion (#9082)
AlexOn1ine Feb 2, 2026
703d108
fix(battle ui): standardize hp bar color logic for `GEN_5` and up (#9…
khbsd Feb 3, 2026
e772770
Battle Heap and Animation Test fixes (#9118)
hedara90 Feb 3, 2026
c4e42ea
Move SubtractClamped to util.c from battle_util.c (#9120)
AlexOn1ine Feb 3, 2026
dafbe66
Converted break_screen_animation from a macro to a function (#9115)
fdeblasio Feb 4, 2026
0c44706
Merge branch 'master' into master-merge
Feb 4, 2026
7bbabde
Re-apply move animation migration
Feb 4, 2026
227cd6f
Fix unused variable
Feb 4, 2026
1ec2a5f
Fix instant text option freezing the game (#9132)
hedara90 Feb 5, 2026
252388d
`master` to `upcoming`, 2026-02-04 (#9131)
mrgriffin Feb 5, 2026
c937be9
Fix ShouldSkipAccuracyCalcPastFirstHit wrong return val (#9122)
AlexOn1ine Feb 5, 2026
75d2ac7
Fixes Dancer activating on missed moves and Neutralizing Gas interact…
PhallenTree Feb 5, 2026
e9e1247
Add all of the Z-A mega stone sprites (#9143)
kittenchilly Feb 5, 2026
354cdab
Fix AI_FLAG_RANDOMIZE_SWITCHIN logic (#9128)
Pawkkie Feb 5, 2026
f102d5d
Squirtle is not a fire type (#9145)
Pawkkie Feb 6, 2026
63fc5bf
Strength Sap fixes (#9130)
AlexOn1ine Feb 6, 2026
064ca5c
Added macro for Surf/Muddy Water's animation (#2232)
fdeblasio Feb 6, 2026
1c5ea66
Move tutors makefile (#9058)
FosterProgramming Feb 7, 2026
318baaa
Prevent Coaching score inflation in certain circumstances. (#9154)
surskitty Feb 7, 2026
63f5617
Fix Pickpocket timing (#9165)
AlexOn1ine Feb 9, 2026
9f1cdbd
Add wander around slower movement type (#9164)
FosterProgramming Feb 9, 2026
b7c400e
fix(fanclub): use sText instead of non-existent gText (#9163)
kildemal Feb 9, 2026
e2c5ce3
Fix doubles switch looping (#9167)
Pawkkie Feb 9, 2026
ce15e54
Fixes Gulp Missile crash on targets that can be statused (#9179)
AlexOn1ine Feb 10, 2026
7a4e303
Fix moves causing errors in Multiplayer due to recoil check in Battle…
hedara90 Feb 10, 2026
9097253
Fix HGSS National Dex List Count (#9189)
HashtagMarky Feb 12, 2026
312dddd
Fix multi battle switch checks for Eject items (#9190)
Cle-bit Feb 12, 2026
f759eca
Remove redundant Levitate check for Magnitute (#9197)
AlexOn1ine Feb 13, 2026
8ce4892
Add defines to Trainer Tower (#9187)
fdeblasio Feb 13, 2026
a3ab5bf
Fix incorrect player berry animation on opponent’s low-HP heal at bat…
Cle-bit Feb 13, 2026
74ea702
Re-enable disabled test (#9200)
Pawkkie Feb 14, 2026
5aed923
Fix accuracy bypass (#9201)
cawtds Feb 14, 2026
cf18d08
Adds CancelerSetTargets and improves Pre Attack Effects (#9178)
PhallenTree Feb 14, 2026
86a159a
chore(linker): add dwarf5 line number section to ld script (#2235)
kildemal Feb 15, 2026
757cbc2
Fixes Protective Pads preventing Poison Touch activation (#9222)
PhallenTree Feb 16, 2026
ae9b313
fix id range for object events and multi decrements/increments (#9098)
cawtds Feb 16, 2026
a3d9aa7
Fix tera icon palettes (#9208)
grintoul1 Feb 16, 2026
9119a6c
Fix AI semi-invulnerable move handling and simplify switching logic (…
Cle-bit Feb 16, 2026
89fbaef
Sky Drop Fixes/Refactor (#9185)
AlexOn1ine Feb 16, 2026
d014422
Running from trainer battles properly handles whiteouts (#9228)
pkmnsnfrn Feb 16, 2026
fa52f33
add LogicalLlama as a contributor for bug (#9229)
allcontributors[bot] Feb 17, 2026
3fca2db
Show ability num instead of ability id whn picking ability with debug…
FosterProgramming Feb 17, 2026
bc6bbb1
Make sure grass effect palette ignore fog when time blended (#9235)
FosterProgramming Feb 17, 2026
353d011
Prevents `seteffectprimary` and `seteffectsecondary` from softlocking…
PhallenTree Feb 17, 2026
3e5387d
Fix sprite fill using wrong mask in some cases (#9205)
hedara90 Feb 17, 2026
44cecbb
fix(build): fix debug builds failing (#9219)
kildemal Feb 17, 2026
07fa2e2
fix(bttl-anim): remove unused battle selector to silence warning (#9218)
kildemal Feb 17, 2026
56f22ad
Added Weight battle tests (#9202)
AsparagusEduardo Feb 17, 2026
7bde163
fix cram form change issue #9182 (#9184)
Meister-anon Feb 17, 2026
dd2b0bd
Fix Toxic Spikes switchin typo (#9242)
Pawkkie Feb 17, 2026
8567d23
Fix battle tutorial crashing after reshow in frlg (#9243)
FosterProgramming Feb 18, 2026
33b89f2
Fix AI Sheer Force checks to allow Order Up’s Commander stat boost (#…
Cle-bit Feb 18, 2026
3494d6b
Fixes Throat Chop timer being reset with every use of the move (#9246)
PhallenTree Feb 18, 2026
ccfb1b6
Fix pressing left or up when choosing target potentially causing a so…
PhallenTree Feb 18, 2026
1502419
Make .party files use "enum Pokeball" instead of "enum Item" (#9159)
FosterProgramming Feb 19, 2026
eb68d74
Fix batle dome streak thresholds (#9257)
FosterProgramming Feb 19, 2026
1311867
Poltergeist Fix: Usable against Klutz targets and while Magic Room is…
LinathanZel Feb 19, 2026
199d7ae
Fixes Rapid Spin and target defrost not being blocked by Sheer Force …
PhallenTree Feb 19, 2026
25ffb2c
Add enum for Elevations (#2233)
HashtagMarky Feb 20, 2026
3ea6bd1
FRLG accuracy check clean up (#9224)
AlexOn1ine Feb 20, 2026
e2df932
Fix incorrect Adaptability interaction with non Tera type moves after…
Cle-bit Feb 20, 2026
d57a067
Fix Ability Shield exemption when Neutralizing Gas ends (#9273)
Cle-bit Feb 20, 2026
b775588
Fix Tickle to be blocked by Substitute in Gen 4+ (#9288)
Cle-bit Feb 21, 2026
ccf71d2
Fix Venom Drench bypassing Substitute (#9289)
Cle-bit Feb 21, 2026
ae3369e
Fix Assist to account for temporarily changed moves in Gen 5+ (#9287)
Cle-bit Feb 21, 2026
675de8c
21/02/26 Master to upcoming merge
AlexOn1ine Feb 21, 2026
44ff8fa
remove and add known failings
AlexOn1ine Feb 21, 2026
9f6e733
Fix sanitizeTrainerId (#9244)
FosterProgramming Feb 21, 2026
cb5db24
Fixes Minior not appearing in Meteor form when encountered in the wil…
luuma Feb 21, 2026
b20b7fd
add KnightGallade as a contributor for bug (#9296)
allcontributors[bot] Feb 21, 2026
b746c80
fix trainer palette
AlexOn1ine Feb 22, 2026
9316635
Fix setting the wall clock crashing with OW_USE_FAKE_RTC set to FALSE…
Feb 22, 2026
433c4af
Fix setting the wall clock crashing with OW_USE_FAKE_RTC set to FALSE…
SBird1337 Feb 22, 2026
021a560
21/02/26 Master to upcoming merge (#9292)
hedara90 Feb 22, 2026
484eef4
Allow Power Construct Animation (#9298)
KnightGallade Feb 22, 2026
12d16aa
createmon:fix move order when all moves are default (#9261)
FosterProgramming Feb 23, 2026
d2ae117
Add tests for Hadron Engine and Psyblade (#9314)
Cle-bit Feb 23, 2026
8334c68
Fix Eviolite to use original species after Transform (#9285)
Cle-bit Feb 23, 2026
a3d041b
Add tests for Future Sight interaction with Ally Switch (#9300)
Cle-bit Feb 23, 2026
8e3183a
Simplify defrosting/thawing and expand target thawing config (#9271)
PhallenTree Feb 23, 2026
e369ea4
correct move flags/data (#8858)
amiosi Feb 23, 2026
81a5622
Move undoing Dynamax to before faint cry (#9317)
PhallenTree Feb 23, 2026
7ba8789
Fixes present master merge regression (#9301)
AlexOn1ine Feb 23, 2026
1b4c199
Adjust the restriction for Pecharunt (#9181)
AlexOn1ine Feb 23, 2026
163bf63
Update new mon teachable learnset tutorial (#9302)
FosterProgramming Feb 23, 2026
a997fec
Fix firered TV loading emerald TV script (#9329)
FosterProgramming Feb 24, 2026
609faea
Fix Power Construct Z symbol color + Add Form Change Sounds (#9326)
LinathanZel Feb 24, 2026
9e3d7db
Fix Sucker Punch to succeed against Me First targets (#9284)
Cle-bit Feb 24, 2026
0c89094
Ease vanilla maps deletions (#9199)
FosterProgramming Feb 24, 2026
03d7cee
Fix safari healthbox (#9341)
FosterProgramming Feb 24, 2026
93ad60c
Update Makefile to remove every rom on clean (#9346)
FosterProgramming Feb 25, 2026
503adc4
Fix double actions on standard bike (#9344)
FosterProgramming Feb 25, 2026
06aeabc
Fix ss anne disappearing early (#9334)
FosterProgramming Feb 25, 2026
abc3ca7
Fix messed up palettes during battle intro (#9333)
hedara90 Feb 25, 2026
d56112c
Fix frlg coinbox window (#9336)
FosterProgramming Feb 25, 2026
d7dcf2d
Fixes post-KO animation assertf trigger caused by OOB battler number …
grintoul1 Feb 25, 2026
34d40b9
Temporary fix to sprite data corruption during multi-faint (#9332)
hedara90 Feb 25, 2026
91a1278
Fix region text when looking at map in frlg (#9347)
FosterProgramming Feb 25, 2026
dc3dd02
Add original frlg safari zone menu and fix initial step counter (#9340)
FosterProgramming Feb 25, 2026
47ee107
Fix floor menu in frlg elevator showing wrong values (#9350)
FosterProgramming Feb 25, 2026
18acbf8
Redraw money box after multi choice in bike shop script (#9331)
FosterProgramming Feb 25, 2026
9d2023e
Clean up ``reshow_battle_screen.c`` (#9352)
Bassoonian Feb 25, 2026
6ac7540
Fix special vars in frlg ingame trade (#9328)
FosterProgramming Feb 25, 2026
a635ac5
Zen Mode Fix: Removes start battle form change and adds switch-out fo…
LinathanZel Feb 25, 2026
a3f53bc
Set var facing on all interactions (#9330)
FosterProgramming Feb 25, 2026
cc69e60
Fix trainer sprite no reshowing properly in safari battle (#9353)
FosterProgramming Feb 25, 2026
e5b2492
createmon uses enum Pokeball instead of Item (#9281)
FosterProgramming Feb 25, 2026
cabbc63
Fixes plasma fists and several let's go and max move effects which sh…
luuma Feb 25, 2026
217b6d6
Fix Paradox stat selection under Wonder Room (#9356)
Cle-bit Feb 26, 2026
cbe2cfb
Merge metatile labels files (#9351)
FosterProgramming Feb 26, 2026
4dba496
Merge remote-tracking branch 'pret/master' into pret-merge
Feb 26, 2026
3bb1b35
Fix illegal switch due to hazards (#9361)
AlexOn1ine Feb 26, 2026
59776b9
Adds a warning when trainer is invalid (#9195)
pkmnsnfrn Feb 26, 2026
893563a
Pret merge, 26th of February (#9362)
AlexOn1ine Feb 26, 2026
cbe9f80
Fix
Cle-bit Feb 27, 2026
edc164e
Add red and leaf icons to frlg map (#9357)
FosterProgramming Feb 27, 2026
3c805a0
Fix tabs in C/H files (#9364)
Bassoonian Feb 27, 2026
0802746
Cleans up unused String IDs and EWRAM variables (#9363)
Bassoonian Feb 27, 2026
5b8a6c6
Fix mapjson error with layouts missing layout_version key (#9374)
FosterProgramming Feb 27, 2026
2affc72
Make sure prevo moves are not duplicated in move relearner
FosterProgramming Feb 27, 2026
de6947a
Fix spacing for conditions (#9369)
Bassoonian Feb 27, 2026
d7106b7
Regularise switch indentation (#9368)
Bassoonian Feb 27, 2026
48b017a
Fix Trapping Persisting after KO in doubles
ChrispyChris27 Feb 27, 2026
a0f170f
Fix Trapping Persisting after KO in doubles (#9380)
AlexOn1ine Feb 27, 2026
986b0bb
Fix Baton Pass to clear Mean Look trapping on the target in Gen 5+ (…
AlexOn1ine Feb 27, 2026
e5ebb5a
Make sure prevo moves are not duplicated in move relearner (#9377)
AlexOn1ine Feb 27, 2026
9ec82b5
Fix Meloetta not reverting forms on switch and remove deprecated Luna…
Meister-anon Feb 27, 2026
267e603
Updated Trainer Tower formatting (#9209)
fdeblasio Feb 27, 2026
08fe65b
Fix mapjson failing with long map/layout names (#9375)
FosterProgramming Feb 27, 2026
310f746
Fix space indentation in .s and .inc files (#9371)
Bassoonian Feb 27, 2026
0fc3ef0
27/02/26 Master to upcoming merge
AlexOn1ine Feb 27, 2026
ed8b03b
Corrects battler used in STRINGID_ATTACKERABILITYSTATRAISE (#9383)
grintoul1 Feb 27, 2026
1af1e6a
Movement follow player (#9365)
FosterProgramming Feb 28, 2026
885180f
27/02/26 Master to upcoming merge (#9384)
Bassoonian Feb 28, 2026
15527c5
add missing tv sprite in frlg pokecenter (#9348)
FosterProgramming Feb 28, 2026
2d09c49
Fix reshowing battle not loading gimmick palettes (#9391)
hedara90 Feb 28, 2026
d6f59ca
Expansion 1.14.4
Feb 28, 2026
beb9825
Merge branch 'upcoming' into expansion-release
Feb 28, 2026
1506495
Expansion 1.15.0
Feb 28, 2026
e0b84e3
Start of 1.15.1 cycle
Feb 28, 2026
2727e2a
Expansion 1.14.4 & 1.15.0 release (#9395)
AlexOn1ine Feb 28, 2026
7cbafaa
Update changelog (#9397)
hedara90 Mar 1, 2026
9da3592
Start of 1.16.0 cycle
Mar 1, 2026
48ebdcb
Start of 1.16.0 cycle (#9400)
hedara90 Mar 1, 2026
9f251f9
Revert "Start of 1.16.0 cycle" (#9402)
hedara90 Mar 1, 2026
a7ecf56
Fix missing AI handling for partnerProtecting and Well-Baked Body (#9…
Cle-bit Mar 1, 2026
6877982
Merge remote-tracking branch 'RHH/master' into gacha-expansion
agsmgmaster64 Mar 3, 2026
cd13092
compiler fixes
agsmgmaster64 Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 18 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,24 @@
"contributions": [
"code"
]
},
{
"login": "LogicalLlama",
"name": "LogicalLlama",
"avatar_url": "https://avatars.githubusercontent.com/u/248230900?v=4",
"profile": "https://github.com/LogicalLlama",
"contributions": [
"bug"
]
},
{
"login": "KnightGallade",
"name": "KnightGallade",
"avatar_url": "https://avatars.githubusercontent.com/u/189022270?v=4",
"profile": "https://github.com/KnightGallade",
"contributions": [
"bug"
]
}
],
"contributorsPerLine": 7,
Expand Down
11 changes: 4 additions & 7 deletions .github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.3 (Latest release)
- 1.15.0 (Latest release)
- master (default, unreleased bugfixes)
- upcoming (Edge)
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- pre-1.13.0
- pre-1.14.0
validations:
required: true
- type: input
Expand Down
11 changes: 4 additions & 7 deletions .github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.3 (Latest release)
- 1.15.0 (Latest release)
- master (default, unreleased bugfixes)
- upcoming (Edge)
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- pre-1.13.0
- pre-1.14.0
validations:
required: true
- type: input
Expand Down
11 changes: 4 additions & 7 deletions .github/ISSUE_TEMPLATE/04_other_errors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.3 (Latest release)
- 1.15.0 (Latest release)
- master (default, unreleased bugfixes)
- upcoming (Edge)
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- pre-1.13.0
- pre-1.14.0
validations:
required: true
- type: input
Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
COMPARE: 0
UNUSED_ERROR: 1
DEPRECATED_ERROR: 1
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -27,23 +27,40 @@ jobs:
sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
# build-essential and git are already installed

- name: ROM
- name: ROM (Emerald)
env:
COMPARE: 0
GAME_VERSION: EMERALD
run: make -j${nproc} -O all

- name: Release
env:
GAME_VERSION: EMERALD
run: |
make tidy
make -j${nproc} release
# make tidy to purge previous build

- name: Test
env:
GAME_VERSION: EMERALD
TEST: 1
run: |
make -j${nproc} check

- name: ROM (Firered)
env:
COMPARE: 0
run: |
make clean
make firered -j${nproc} -O

- name: ROM (Leafgreen)
env:
COMPARE: 0
run: |
make leafgreen -j${nproc} -O

docs_validate:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@ prefabs.json
*.sym
*.js
/pokeemerald-*.png
/pokefirered-*.png
/pokeleafgreen-*.png
src/data/map_group_count.h
include/constants/heal_locations.h
include/constants/script_commands.h
tools/trainerproc/trainerproc
src/data/battle_partners.h
src/data/pokemon/teachable_learnsets.h
src/data/trainers.h
src/data/trainers_frlg.h
src/data/debug_trainers.h
src/data/tutor_moves.h
test/battle/trainer_control.h
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
Expand Down
2 changes: 2 additions & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SabataLunar"><img src="https://avatars.githubusercontent.com/u/26584469?v=4?s=100" width="100px;" alt="SabataLunar"/><br /><sub><b>SabataLunar</b></sub></a><br /><a href="#design-SabataLunar" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/PacFire"><img src="https://avatars.githubusercontent.com/u/108960850?v=4?s=100" width="100px;" alt="PacFire"/><br /><sub><b>PacFire</b></sub></a><br /><a href="#design-PacFire" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ChrispyChris27"><img src="https://avatars.githubusercontent.com/u/173648816?v=4?s=100" width="100px;" alt="ChrispyChris27"/><br /><sub><b>ChrispyChris27</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=ChrispyChris27" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LogicalLlama"><img src="https://avatars.githubusercontent.com/u/248230900?v=4?s=100" width="100px;" alt="LogicalLlama"/><br /><sub><b>LogicalLlama</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/issues?q=author%3ALogicalLlama" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/KnightGallade"><img src="https://avatars.githubusercontent.com/u/189022270?v=4?s=100" width="100px;" alt="KnightGallade"/><br /><sub><b>KnightGallade</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/issues?q=author%3AKnightGallade" title="Bug reports">🐛</a></td>
</tr>
</tbody>
<tfoot>
Expand Down
55 changes: 41 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ TEST ?= 0
ANALYZE ?= 0
# Count unused warnings as errors. Used by RH-Hideout's repo
UNUSED_ERROR ?= 0
# Count deprecated warnings as errors. Used by RH-Hideout's repo
DEPRECATED_ERROR ?= 0
# Adds -Og and -g flags, which optimize the build for debugging and include debug info respectively
DEBUG ?= 0
# Adds -flto flag, which increases link time but results in a more efficient binary (especially in audio processing)
Expand Down Expand Up @@ -183,6 +185,13 @@ ifeq ($(UNUSED_ERROR),0)
override CFLAGS += -Wno-error=unused-variable -Wno-error=unused-const-variable -Wno-error=unused-parameter -Wno-error=unused-function -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=unused-local-typedefs
endif
endif

ifeq ($(DEPRECATED_ERROR),0)
ifneq ($(GITHUB_REPOSITORY_OWNER),rh-hideout)
override CFLAGS += -Wno-error=deprecated-declarations
endif
endif

LIBPATH := -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libc.a))"
LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall
# Enable debug info if set
Expand Down Expand Up @@ -231,7 +240,9 @@ endif
LEARNSET_HELPERS_DIR := $(TOOLS_DIR)/learnset_helpers
LEARNSET_HELPERS_DATA_DIR := $(LEARNSET_HELPERS_DIR)/porymoves_files
LEARNSET_HELPERS_BUILD_DIR := $(LEARNSET_HELPERS_DIR)/build
ALL_LEARNABLES_JSON := $(LEARNSET_HELPERS_BUILD_DIR)/all_learnables.json
ALL_LEARNABLES_JSON := $(DATA_SRC_SUBDIR)/pokemon/all_learnables.json
ALL_TUTORS_JSON := $(LEARNSET_HELPERS_BUILD_DIR)/all_tutors.json
ALL_TEACHING_TYPES_JSON := $(LEARNSET_HELPERS_BUILD_DIR)/all_teaching_types.json

# wild_encounters.h is generated by a Python script
WILD_ENCOUNTERS_TOOL_DIR := $(TOOLS_DIR)/wild_encounters
Expand All @@ -246,10 +257,6 @@ $(DATA_SRC_SUBDIR)/wild_encounters.h: $(DATA_SRC_SUBDIR)/wild_encounters.json $(
$(INCLUDE_DIRS)/constants/script_commands.h: $(MISC_TOOL_DIR)/make_scr_cmd_constants.py $(DATA_ASM_SUBDIR)/script_cmd_table.inc
python3 $(MISC_TOOL_DIR)/make_scr_cmd_constants.py

$(C_BUILDDIR)/wild_encounter.o: c_dep += $(DATA_SRC_SUBDIR)/wild_encounters.h
$(C_BUILDDIR)/trainer_see.o: c_dep += $(INCLUDE_DIRS)/constants/script_commands.h
$(C_BUILDDIR)/vs_seeker.o: c_dep += $(INCLUDE_DIRS)/constants/script_commands.h

PERL := perl
SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c

Expand All @@ -262,7 +269,7 @@ MAKEFLAGS += --no-print-directory
# Delete files that weren't built properly
.DELETE_ON_ERROR:

RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidycheck tidyrelease generated clean-generated
RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidycheck tidyrelease generated clean-generated clean-teachables clean-teachables_intermediates
.PHONY: all rom agbcc modern compare check debug release
.PHONY: $(RULES_NO_SCAN)

Expand Down Expand Up @@ -386,7 +393,7 @@ clean-assets:
tidy: tidymodern tidycheck tidydebug tidyrelease

tidymodern:
rm -f $(ROM_NAME) $(ELF_NAME) $(MAP_NAME)
rm -f poke*.gba poke*.elf poke*.map
rm -rf $(OBJ_DIR_NAME)

tidycheck:
Expand Down Expand Up @@ -434,11 +441,19 @@ generated: $(AUTO_GEN_TARGETS)
%.smol: % ; $(SMOL) -w $< $@
%.rl: % ; $(GFX) $< $@

clean-generated:
clean-teachables_intermediates:
rm -f $(DATA_SRC_SUBDIR)/tutor_moves.h
rm -f $(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h
@rm -Rf $(LEARNSET_HELPERS_BUILD_DIR)
@echo "rm -Rf <LEARNSET_HELPERS_BUILD_DIR>"

clean-generated: clean-teachables_intermediates
@rm -f $(AUTO_GEN_TARGETS)
@echo "rm -f <AUTO_GEN_TARGETS>"
@rm -f $(ALL_LEARNABLES_JSON)
@echo "rm -f <ALL_LEARNABLES_JSON>"

clean-teachables: clean-teachables_intermediates
rm -f $(ALL_LEARNABLES_JSON)
@touch $(C_SUBDIR)/pokemon.c

$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
$(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member
Expand All @@ -454,6 +469,8 @@ $(TEST_BUILDDIR)/%.o: CFLAGS := -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mt

# Dependency rules (for the *.c & *.s sources to .o files)
# Have to be explicit or else missing files won't be reported.
$(C_BUILDDIR)/move_relearner.o: $(C_SUBDIR)/move_relearner.c $(DATA_SRC_SUBDIR)/tutor_moves.h
$(C_BUILDDIR)/pokemon.o: $(C_SUBDIR)/pokemon.c $(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h

# As a side effect, they're evaluated immediately instead of when the rule is invoked.
# It doesn't look like $(shell) can be deferred so there might not be a better way (Icedude_907: there is soon).
Expand All @@ -473,6 +490,7 @@ $(C_BUILDDIR)/%.d: $(C_SUBDIR)/%.c
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $<

ifneq ($(NODEP),1)
-include $(ALL_TUTORS_JSON), $(ALL_TEACHING_TYPES_JSON),
-include $(addprefix $(OBJ_DIR)/,$(C_SRCS:.c=.d))
endif

Expand Down Expand Up @@ -528,16 +546,25 @@ $(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt)
$(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt
$(RAMSCRGEN) ewram_data $< ENGLISH > $@

TEACHABLE_DEPS := $(ALL_LEARNABLES_JSON) $(shell find data/ -type f -name '*.inc') $(INCLUDE_DIRS)/constants/tms_hms.h $(INCLUDE_DIRS)/config/pokemon.h $(C_SUBDIR)/pokemon.c
TEACHABLE_DEPS := $(ALL_LEARNABLES_JSON) $(INCLUDE_DIRS)/constants/tms_hms.h $(INCLUDE_DIRS)/config/pokemon.h $(DATA_SRC_SUBDIR)/pokemon/special_movesets.json $(INCLUDE_DIRS)/config/pokedex_plus_hgss.h $(LEARNSET_HELPERS_DIR)/make_teachables.py

$(LEARNSET_HELPERS_BUILD_DIR):
@mkdir -p $@

$(ALL_LEARNABLES_JSON): $(wildcard $(LEARNSET_HELPERS_DATA_DIR)/*.json) | $(LEARNSET_HELPERS_BUILD_DIR)
$(ALL_LEARNABLES_JSON): | $(wildcard $(LEARNSET_HELPERS_DATA_DIR)/*.json)
python3 $(LEARNSET_HELPERS_DIR)/make_learnables.py $(LEARNSET_HELPERS_DATA_DIR) $@

$(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(TEACHABLE_DEPS)
python3 $(LEARNSET_HELPERS_DIR)/make_teachables.py $<
$(ALL_TUTORS_JSON): $(shell find data/ -type f -name '*.inc') $(LEARNSET_HELPERS_DIR)/make_tutors.py | $(LEARNSET_HELPERS_BUILD_DIR)
python3 $(LEARNSET_HELPERS_DIR)/make_tutors.py $@

$(ALL_TEACHING_TYPES_JSON): $(wildcard $(DATA_SRC_SUBDIR)/pokemon/species_info/*_families.h) $(LEARNSET_HELPERS_DIR)/make_teaching_types.py | $(LEARNSET_HELPERS_BUILD_DIR)
python3 $(LEARNSET_HELPERS_DIR)/make_teaching_types.py $@

$(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(TEACHABLE_DEPS) | $(ALL_TUTORS_JSON) $(ALL_TEACHING_TYPES_JSON)
python3 $(LEARNSET_HELPERS_DIR)/make_teachables.py $(LEARNSET_HELPERS_BUILD_DIR)

$(DATA_SRC_SUBDIR)/tutor_moves.h: $(DATA_SRC_SUBDIR)/pokemon/special_movesets.json | $(ALL_TUTORS_JSON)
python3 $(LEARNSET_HELPERS_DIR)/make_teachables.py --tutors $(LEARNSET_HELPERS_BUILD_DIR)

# Linker script
LD_SCRIPT := ld_script_modern.ld
Expand Down
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# Pokémon Emerald Game Corner Expansion

Hello! This is a tweaked version of Chris Piche's Game Corner Expansion feature branch made by me, AGSMGMaster64.
Currently, this adds a new config file that uses some flags by default but can be configured to other flags if necessary.
Some new music and changes to the Mauville Corner have been made as well, so keep that in mind if you plan to merge this into your
existing project. Credits to AsparagusEduardo for the basis of this merge here, I just mainly tweaked things around to help
out any developers who may want to use this as well.

Updated to pokeemerald-expansion v1.12.0

To pull from this branch here, just simply use these commands here:
```
git remote add AGSMG https://github.com/agsmgmaster64/worldlinkdeluxe-ame/
git pull AGSMG gacha-expansion
```


Below is the rest of the original description from Chris Piche himself:

More specifically, this adds 4 pinball mini-games, Flappy Bird, Block Stacker, Snake, Blackjack, Voltorb Flip, Plinko, Mauville Derby, and Gacha Machines into the Game Corner.

Big thank you to huderlem (Pokemon Pinball to Emerald), and Pokeabbie (Voltorb Flip from Emerald Rogue). All I really did for these was some graphics, music, and code to work with coins. They deserve the real credits here.
Also thank you to Viperio, who made an initial Snake for Pokemon Emerald that I based my code on.

...
# About `pokeemerald-expansion`

![Gif that shows debugging functionality that is unique to pokeemerald-expansion such as rerolling Trainer ID, Cheat Start, PC from Debug Menu, Debug PC Fill, Pokémon Sprite Visualizer, Debug Warp to Map, and Battle Debug Menu](https://github.com/user-attachments/assets/cf9dfbee-4c6b-4bca-8e0a-07f116ef891c) ![Gif that shows overworld functionality that is unique to pokeemerald-expansion such as indoor running, BW2 style map popups, overworld followers, DNA Splicers, Gen 1 style fishing, OW Item descriptions, Quick Run from Battle, Use Last Ball, Wild Double Battles, and Catch from EXP](https://github.com/user-attachments/assets/383af243-0904-4d41-bced-721492fbc48e) ![Gif that shows off a number of modern Pokémon battle mechanics happening in the pokeemerald-expansion engine: 2 vs 1 battles, modern Pokémon, items, moves, abilities, fully customizable opponents and partners, Trainer Slides, and generational gimmicks](https://github.com/user-attachments/assets/50c576bc-415e-4d66-a38f-ad712f3316be)
Expand All @@ -17,7 +42,7 @@
If you use **`pokeemerald-expansion`**, please credit **RHH (Rom Hacking Hideout)**. Optionally, include the version number for clarity.

```
Based off RHH's pokeemerald-expansion 1.14.3 https://github.com/rh-hideout/pokeemerald-expansion/
Based off RHH's pokeemerald-expansion 1.15.0 https://github.com/rh-hideout/pokeemerald-expansion/
```

Please consider [crediting all contributors](CREDITS.md) involved in the project!
Expand Down
1 change: 1 addition & 0 deletions asm/macros.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.include "asm/macros/map.inc"
.include "asm/macros/field_effect_script.inc"
.include "asm/macros/trainer_hill.inc"
.include "asm/macros/trainer_tower.inc"
.include "asm/macros/battle_tent.inc"
.include "asm/macros/battle_frontier/apprentice.inc"
.include "asm/macros/battle_frontier/battle_arena.inc"
Expand Down
4 changes: 4 additions & 0 deletions asm/macros/battle_anim_script.inc
Original file line number Diff line number Diff line change
Expand Up @@ -648,3 +648,7 @@
.macro shake_battle_platforms priority=2, x_offset:req, y_offset:req, shakes:req, delay:req
createvisualtask AnimTask_ShakeBattlePlatforms, \priority, \x_offset, \y_offset, \shakes, \delay
.endm

.macro create_surf_wave priority=2, palette:req
createvisualtask AnimTask_CreateSurfWave, \priority, \palette
.endm
Loading