Compare commits

...

809 Commits

Author SHA1 Message Date
Eduardo Quezada
06cab81483
Fix FREE_ENIGMA_BERRY breaking GF Rom Header (#9599)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-21 21:52:47 +01:00
GGbond
04245161e0
Fix Commander cleanup to only clear STATE_COMMANDER semi-invulnerability for partners (#9598) 2026-03-21 18:02:13 +00:00
grintoul
7248ff7193
Silence Makefile map_version message (#9590)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-21 06:58:03 +00:00
Pawkkie
d50afab833
Fix AI debug timers (#9585)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-20 21:49:29 +01:00
Rachel
6034c13eab
fix(learnset_helpers): Harden regex-patterns for preproc directives (#9582) 2026-03-20 18:24:34 +01:00
Rachel
ed30cf717e
fix(preproc): Remove unused private field m_scriptData (#9581) 2026-03-20 16:58:00 +00:00
John Cooper McDonald
57f23799fa
Add better Strange Ball sprite (#9556) 2026-03-20 17:21:00 +01:00
Kildemal
facd68cc32
docs(tutorials): clean up mon_generation tutorial for readability (#9531)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-20 11:30:08 +01:00
hedara90
e8c5db4943
Fix assert failure on disabled species in Sprite Visualizer (#9422)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Hedara <hedara90@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-03-19 13:14:14 +01:00
Martin Griffin
4af2bd3207
preproc: generate .size in script_data sections (#9233) 2026-03-19 11:42:51 +01:00
Maxime Gr
ccb9c4d294
Retaliate post ko bug fix (#9561) 2026-03-19 00:17:40 +01:00
Eduardo Quezada
021882000e
Clean unused function from header (#9541)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-03-18 22:56:42 +01:00
GGbond
49f7da4354
Fix duplicate Trick Room end message when used again (#9546) 2026-03-18 12:43:29 -04:00
Marky
e0e155feb7
Fix Some HGSS Dex Visuals (#9534)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-18 13:24:16 +01:00
ghoulslash
038387c705
Fix Berry Mutation Chance (#9530)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
2026-03-18 12:40:02 +01:00
Alex
0843a70986
Fix SafeguardProtected script (#9559) 2026-03-18 11:39:19 +01:00
FosterProgramming
dbf1d53416
Fix visual glicth during critical capture (#9538)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-17 11:44:43 +00:00
FosterProgramming
77fa8e086b
Version specific tweaks of post whiteout script (#9521)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2026-03-16 13:17:35 +01:00
Trevor Edris
b475d1ce87
Parallelize CI jobs and cache build tools (#9528) 2026-03-16 08:50:49 +01:00
cawtds
c70b247579
Fix assert hits when species are disabled (#9520)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-03-14 18:33:43 +01:00
Eduardo Quezada
4c3ff3979c
PARAMETRIZE_LABEL now supports multiple args (#9206) 2026-03-14 15:43:43 +00:00
FosterProgramming
eada46a5ed
Fix money amount printed on whiteout (#9517)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-14 06:51:08 +00:00
Alex
9e8272da39
Fix Magic Guard activation against Rough Skin (#9516) 2026-03-14 06:47:58 +00:00
PhallenTree
5714ee6758
Fixes Dancer original attacker/target being overwritten (#9515)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-13 18:20:31 +00:00
hedara90
022507a7f2
Fix newlines not working with sprite printing (#9502)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-03-13 18:10:21 +01:00
FosterProgramming
976e642137
Fix partner difficulty and rework tests (#9419) 2026-03-13 07:49:23 -07:00
cawtds
50cfe5847e
Fix trailing newline failing tests (#9495) 2026-03-13 15:41:01 +01:00
Alex
75c3f68108
Fix Magic Coat activation if in Semi-Invulnerable state (#9503)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-03-12 10:48:07 +00:00
Alex
726588b8b0
Fixes Lock On (#9496) 2026-03-12 10:47:36 +00:00
Alex
d2cb9eb14b
Fix Magic Bounce reflecting Hazards from a semi-invulnerable position (#9501)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-11 19:32:46 +01:00
hedara90
44c132a752
Fix various stuff not working when hitting substitutes (#9487)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Hedara <hedara90@gmail.com>
2026-03-10 17:33:58 +00:00
PhallenTree
df81e254ab
Fixes Secret Power Terrain effects not being applied (#9492) 2026-03-10 17:27:48 +01:00
Alex
552be6d7e7
Fixes Critical Hit message being printed on fixed damage moves (#9489)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-09 15:40:30 +01:00
FosterProgramming
53c466dd22
Fix battle type doubles for debug battle (#9486)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-09 10:18:11 +00:00
grintoul
9b89ffa6f2
Adds missing include in intro_frlg.c (#9483) 2026-03-09 10:13:45 +00:00
Alex
2fb242d041
Fixes Knock Off / Ogerpon behavior (#9478)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-08 20:40:07 +01:00
Alex
8e89d71b52
Fix order of failure for spread moves (#9472)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-08 17:14:49 +01:00
luuma
abac8874d8
Adds Cherrim Overworld sprite (#9442)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-08 09:51:24 +01:00
grintoul
8c812e0e1a
Remove need to run make clean when switching between frlg and emerald (#9406) 2026-03-08 09:49:26 +01:00
Linathan
57a3f18ae4
Fixes abilities that grant type immunities not outputting battle messages (#9470)
Co-authored-by: LinathanZel <linathan@DESKTOP-RVGNQ5E.localdomain>
2026-03-08 08:18:20 +01:00
Maxime Gr
48b29169ac
Rage fist fix (#9405)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-07 20:00:06 -05:00
FosterProgramming
7139ebd19d
Fix tutor_moves.h files containing duplicates (#9423) 2026-03-08 00:01:40 +01:00
allcontributors[bot]
e73c1426c9
add DragonScaledEmma as a contributor for bug (#9458)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com>
2026-03-07 14:48:07 -05:00
allcontributors[bot]
661b46ec54
add gammel2013 as a contributor for bug (#9457)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com>
2026-03-07 14:13:23 -05:00
allcontributors[bot]
f5285a2558
add blusunrize as a contributor for bug (#9456)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-07 11:39:23 -05:00
Alex
8c42eafd0a
Fix Lightning Rod activation on fainted mon (#9434) 2026-03-07 15:29:31 +00:00
Alex
4e0fc26fc5
Missing shouldAbilityTrigger (#9447) 2026-03-07 14:30:19 +00:00
hedara90
4d9580ffbb
Fix GetSpeciesPreEvolution triggering assertf with disabled species (#9455)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-03-07 12:14:40 +01:00
Pawkkie
012a63608f
Fix AI_CompareDamagingMoves reading incorrect move indexes (#9454)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-07 09:21:51 +01:00
PhallenTree
66b550b9f0
Fixes Trump Card's power calculation using its own PP when called by another move (#9445)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-06 20:47:19 +01:00
Alex
78e4de61f8
Fix weatherform change when primal weather leaves the field (#9424)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-06 15:12:08 +00:00
PhallenTree
8dd4135b46
Fix ally targeting moves crashing in single battles (#9433)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-06 09:27:58 +01:00
Meister-anon
f2af06983a
potential fix for trap effects (#9396)
Co-authored-by: Meister-anon <user@DESKTOP-TQ65PS9>
2026-03-05 23:57:45 -05:00
PhallenTree
1aa594d00e
Fixes Bide's AI scoring being boosted by being able to boost offensive stats (#9435)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-05 18:24:03 -05:00
luuma
134f6a1756
Partial fix to incorrect Throat Spray behaviour, with a fix to summary_screen config that no longer works (#9426) 2026-03-05 23:50:17 +01:00
Pawkkie
70b841d7dd
Fix AI's inability to use Acupressure on its ally (#9437)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-03-05 23:07:48 +01:00
allcontributors[bot]
6bf1b59b72
add luuma as a contributor for code (#9427)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-05 18:33:35 +01:00
GGbond
41c02c206f
Fix Unseen Fist triggering protection move side effects (#9428)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-05 08:29:37 +01:00
shachar700
18de04499e
Update event_objects.h (#9418)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-04 20:42:36 +01:00
Alex
c8ce8a2b28
Fixes U-turn not reseting targetsDone flag (#9411)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-04 13:16:56 +01:00
FosterProgramming
87078e355d
Fix free match call compile fail (#9416) 2026-03-04 13:16:37 +01:00
Montblanc
e9040d6327
Fix FRLG party menu Oak support message window (#9412)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-04 00:00:15 +01:00
Raymond Dodge
c3bd23c26f
Make trainerproc-generated files depend on trainerproc (#9414)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-03 11:37:18 +01:00
PhallenTree
298b647251
Fix ability reference in Steadfast message (#9389)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-02 16:24:42 +01:00
GGbond
474d586452
Add tests for Taunt (#9386) 2026-03-02 12:30:52 +00:00
GGbond
a7ecf56328
Fix missing AI handling for partnerProtecting and Well-Baked Body (#9385)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-03-01 13:02:02 -05:00
hedara90
9f251f95be
Revert "Start of 1.16.0 cycle" (#9402) 2026-03-01 18:10:59 +01:00
hedara90
48ebdcb2fb
Start of 1.16.0 cycle (#9400) 2026-03-01 17:17:36 +01:00
Hedara
9da3592b21 Start of 1.16.0 cycle 2026-03-01 16:43:13 +01:00
hedara90
7cbafaa400
Update changelog (#9397)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Hedara <hedara90@gmail.com>
2026-03-01 10:30:50 -05:00
Alex
2727e2a69b
Expansion 1.14.4 & 1.15.0 release (#9395)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-28 23:51:17 +01:00
Hedara
e0b84e392b Start of 1.15.1 cycle 2026-02-28 22:13:55 +01:00
Hedara
150649546e Expansion 1.15.0 2026-02-28 22:13:30 +01:00
Hedara
beb9825fef Merge branch 'upcoming' into expansion-release 2026-02-28 22:00:41 +01:00
Hedara
d6f59caeaf Expansion 1.14.4 2026-02-28 21:44:20 +01:00
hedara90
2d09c49c9f
Fix reshowing battle not loading gimmick palettes (#9391)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-28 18:45:27 +01:00
FosterProgramming
15527c5028
add missing tv sprite in frlg pokecenter (#9348) 2026-02-28 16:37:59 +01:00
Bassoonian
885180ff8b
27/02/26 Master to upcoming merge (#9384)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-28 15:58:05 +01:00
FosterProgramming
1af1e6a4e0
Movement follow player (#9365) 2026-02-28 15:45:57 +01:00
grintoul
ed8b03b5f7
Corrects battler used in STRINGID_ATTACKERABILITYSTATRAISE (#9383)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-28 00:00:13 +01:00
AlexOn1ine
0fc3ef056a 27/02/26 Master to upcoming merge 2026-02-27 23:53:24 +01:00
Bassoonian
310f746565
Fix space indentation in .s and .inc files (#9371)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-27 12:45:00 -08:00
FosterProgramming
08fe65bd2e
Fix mapjson failing with long map/layout names (#9375) 2026-02-27 21:42:12 +01:00
Frank DeBlasio
267e603c2a
Updated Trainer Tower formatting (#9209) 2026-02-27 21:41:33 +01:00
Meister-anon
9ec82b5ca8
Fix Meloetta not reverting forms on switch and remove deprecated Lunar Dance string ID (#9379)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Meister-anon <user@DESKTOP-TQ65PS9>
2026-02-27 20:23:18 +00:00
Alex
e5ebb5aecf
Make sure prevo moves are not duplicated in move relearner (#9377) 2026-02-27 18:19:39 +01:00
Alex
986b0bb5ec
Fix Baton Pass to clear Mean Look trapping on the target in Gen 5+ (#9378) 2026-02-27 18:17:06 +01:00
Alex
a0f170fc58
Fix Trapping Persisting after KO in doubles (#9380) 2026-02-27 18:11:34 +01:00
ChrispyChris27
48b017af68 Fix Trapping Persisting after KO in doubles
Fixes trapping abilities continuing to trap the player if the last mon on one side of a two trainer double battle has one.
2026-02-27 11:37:38 -05:00
Bassoonian
d7106b7ef1
Regularise switch indentation (#9368) 2026-02-27 15:54:21 +01:00
Bassoonian
de6947a6e5
Fix spacing for conditions (#9369)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-27 15:10:52 +01:00
Jamie Foster
2affc72188 Make sure prevo moves are not duplicated in move relearner 2026-02-27 15:10:32 +01:00
FosterProgramming
5b8a6c614e
Fix mapjson error with layouts missing layout_version key (#9374) 2026-02-27 12:31:22 +00:00
Bassoonian
080274645c
Cleans up unused String IDs and EWRAM variables (#9363) 2026-02-27 13:21:31 +01:00
Bassoonian
3c805a030b
Fix tabs in C/H files (#9364) 2026-02-27 13:12:41 +01:00
FosterProgramming
edc164e247
Add red and leaf icons to frlg map (#9357) 2026-02-27 11:24:16 +00:00
GGbond
cbe9f80e03 Fix 2026-02-27 18:08:19 +08:00
Alex
893563a2d5
Pret merge, 26th of February (#9362)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Frank <fdeblasio1004@gmail.com>
Co-authored-by: GriffinR <griffin.g.richards@gmail.com>
Co-authored-by: Frank DeBlasio <35279583+fdeblasio@users.noreply.github.com>
Co-authored-by: Kildemal <206095739+izrofid@users.noreply.github.com>
Co-authored-by: Marky <143505183+HashtagMarky@users.noreply.github.com>
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-26 20:25:28 +01:00
psf
59776b997b
Adds a warning when trainer is invalid (#9195)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
Co-authored-by: hedara90 <90hedara@gmail.com>
2026-02-26 19:55:07 +01:00
Alex
3bb1b3502a
Fix illegal switch due to hazards (#9361) 2026-02-26 08:00:41 -08:00
Hedara
4dba49657a Merge remote-tracking branch 'pret/master' into pret-merge
Conflicts:
	data/battle_anim_scripts.s
	src/battle_anim_water.c
	src/event_object_movement.c
	src/field_player_avatar.c
2026-02-26 15:33:26 +01:00
FosterProgramming
cbe2cfbd8e
Merge metatile labels files (#9351)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-26 11:44:42 +01:00
GGbond
217b6d6da2
Fix Paradox stat selection under Wonder Room (#9356)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-26 11:41:52 +01:00
luuma
cabbc632fd
Fixes plasma fists and several let's go and max move effects which should occur even when fainting a foe (#9262)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-25 21:46:22 +01:00
FosterProgramming
e5b2492b8d
createmon uses enum Pokeball instead of Item (#9281)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-02-25 21:10:57 +01:00
FosterProgramming
cc69e60559
Fix trainer sprite no reshowing properly in safari battle (#9353) 2026-02-25 20:26:11 +01:00
FosterProgramming
a3f53bc66c
Set var facing on all interactions (#9330) 2026-02-25 20:06:30 +01:00
Linathan
a635ac599d
Zen Mode Fix: Removes start battle form change and adds switch-out form change (#9304)
Co-authored-by: LinathanZel <linathan@DESKTOP-RVGNQ5E.localdomain>
2026-02-25 19:35:16 +01:00
FosterProgramming
6ac7540d3b
Fix special vars in frlg ingame trade (#9328) 2026-02-25 18:51:15 +01:00
Bassoonian
9d2023e34b
Clean up `reshow_battle_screen.c` (#9352) 2026-02-25 18:18:38 +01:00
FosterProgramming
18acbf853d
Redraw money box after multi choice in bike shop script (#9331) 2026-02-25 17:27:38 +01:00
FosterProgramming
47ee107f34
Fix floor menu in frlg elevator showing wrong values (#9350) 2026-02-25 17:24:37 +01:00
FosterProgramming
dc3dd0273c
Add original frlg safari zone menu and fix initial step counter (#9340) 2026-02-25 15:22:08 +01:00
FosterProgramming
91a1278934
Fix region text when looking at map in frlg (#9347) 2026-02-25 15:19:09 +01:00
hedara90
34d40b9ce5
Temporary fix to sprite data corruption during multi-faint (#9332) 2026-02-25 14:11:50 +00:00
grintoul
d7dcf2d509
Fixes post-KO animation assertf trigger caused by OOB battler number (#9343) 2026-02-25 15:10:03 +01:00
FosterProgramming
d56112cd78
Fix frlg coinbox window (#9336)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-25 08:17:46 +00:00
hedara90
abc3ca74f5
Fix messed up palettes during battle intro (#9333)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-25 07:42:47 +00:00
FosterProgramming
06aeabce5b
Fix ss anne disappearing early (#9334) 2026-02-25 07:25:33 +00:00
FosterProgramming
503adc43ee
Fix double actions on standard bike (#9344) 2026-02-25 07:20:57 +00:00
FosterProgramming
93ad60cbdb
Update Makefile to remove every rom on clean (#9346) 2026-02-25 07:09:22 +00:00
FosterProgramming
03d7cee1d9
Fix safari healthbox (#9341)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-24 23:31:50 +01:00
FosterProgramming
0c89094756
Ease vanilla maps deletions (#9199)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: psf <77138753+pkmnsnfrn@users.noreply.github.com>
2026-02-24 10:26:33 -08:00
GGbond
9e3d7db43f
Fix Sucker Punch to succeed against Me First targets (#9284)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-24 19:24:01 +01:00
Linathan
609faea428
Fix Power Construct Z symbol color + Add Form Change Sounds (#9326)
Co-authored-by: LinathanZel <linathan@DESKTOP-RVGNQ5E.localdomain>
2026-02-24 19:16:47 +01:00
FosterProgramming
a997fece17
Fix firered TV loading emerald TV script (#9329) 2026-02-24 19:06:04 +01:00
FosterProgramming
163bf63a39
Update new mon teachable learnset tutorial (#9302)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: psf <77138753+pkmnsnfrn@users.noreply.github.com>
2026-02-23 13:59:58 -08:00
Alex
1b4c199cd8
Adjust the restriction for Pecharunt (#9181)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-23 20:50:49 +01:00
Alex
7ba87890b5
Fixes present master merge regression (#9301)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-02-23 20:46:28 +01:00
PhallenTree
81a5622b51
Move undoing Dynamax to before faint cry (#9317) 2026-02-23 20:40:37 +01:00
amiosi
e369ea4464
correct move flags/data (#8858)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-23 17:23:32 +01:00
PhallenTree
8e3183a7a9
Simplify defrosting/thawing and expand target thawing config (#9271) 2026-02-23 17:11:05 +01:00
GGbond
a3d041b8af
Add tests for Future Sight interaction with Ally Switch (#9300) 2026-02-23 14:54:46 +01:00
GGbond
8334c68422
Fix Eviolite to use original species after Transform (#9285) 2026-02-23 14:51:32 +01:00
GGbond
d2ae1175c4
Add tests for Hadron Engine and Psyblade (#9314) 2026-02-23 14:50:03 +01:00
FosterProgramming
12d16aad16
createmon:fix move order when all moves are default (#9261)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-22 23:18:15 -08:00
KnightGallade
484eef4143
Allow Power Construct Animation (#9298)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-22 15:14:03 +01:00
hedara90
021a560de0
21/02/26 Master to upcoming merge (#9292)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-22 15:10:16 +01:00
Philipp AUER
433c4aff68
Fix setting the wall clock crashing with OW_USE_FAKE_RTC set to FALSE and LTO=1 (#9299) 2026-02-22 14:05:31 +01:00
Hedara
9316635687 Fix setting the wall clock crashing with OW_USE_FAKE_RTC set to FALSE and LTO=1 2026-02-22 13:36:32 +01:00
AlexOn1ine
b746c80429 fix trainer palette 2026-02-22 12:05:40 +01:00
allcontributors[bot]
b20b7fda5b
add KnightGallade as a contributor for bug (#9296)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-02-21 22:27:59 +01:00
luuma
cb5db2491f
Fixes Minior not appearing in Meteor form when encountered in the wild (#9282)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-21 17:45:32 +01:00
FosterProgramming
9f6e733f8f
Fix sanitizeTrainerId (#9244)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-21 05:48:05 -08:00
AlexOn1ine
44ff8fafa7 remove and add known failings 2026-02-21 13:43:15 +01:00
AlexOn1ine
675de8cbea 21/02/26 Master to upcoming merge 2026-02-21 12:55:21 +01:00
GGbond
ae3369e87f
Fix Assist to account for temporarily changed moves in Gen 5+ (#9287)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-21 11:46:51 +01:00
GGbond
ccf71d2d6a
Fix Venom Drench bypassing Substitute (#9289) 2026-02-21 10:24:43 +01:00
GGbond
b7755887cc
Fix Tickle to be blocked by Substitute in Gen 4+ (#9288) 2026-02-21 10:23:49 +01:00
GGbond
d57a067f5e
Fix Ability Shield exemption when Neutralizing Gas ends (#9273)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-02-20 19:17:07 +01:00
GGbond
e2df932775
Fix incorrect Adaptability interaction with non Tera type moves after Terastalization (#9272) 2026-02-20 16:10:18 +01:00
Alex
3ea6bd1872
FRLG accuracy check clean up (#9224)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2026-02-20 11:39:34 +01:00
Marky
25ffb2c12c
Add enum for Elevations (#2233) 2026-02-20 01:17:42 -05:00
PhallenTree
199d7ae2cb
Fixes Rapid Spin and target defrost not being blocked by Sheer Force (#9252)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-19 14:24:39 +01:00
Linathan
13118676eb
Poltergeist Fix: Usable against Klutz targets and while Magic Room is in effect (#9256)
Co-authored-by: LinathanZel <linathan@DESKTOP-RVGNQ5E.localdomain>
2026-02-19 14:22:13 +01:00
FosterProgramming
eb68d746e2
Fix batle dome streak thresholds (#9257)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-19 14:21:36 +01:00
FosterProgramming
150241913a
Make .party files use "enum Pokeball" instead of "enum Item" (#9159)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-19 11:20:47 +01:00
PhallenTree
ccfb1b6e09
Fix pressing left or up when choosing target potentially causing a softlock (#9247)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-18 23:56:12 +01:00
PhallenTree
3494d6b064
Fixes Throat Chop timer being reset with every use of the move (#9246)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-18 15:40:30 +01:00
GGbond
33b89f227d
Fix AI Sheer Force checks to allow Order Up’s Commander stat boost (#9250) 2026-02-18 15:39:55 +01:00
FosterProgramming
8567d23736
Fix battle tutorial crashing after reshow in frlg (#9243)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-18 10:43:18 +01:00
Pawkkie
dd2b0bd99c
Fix Toxic Spikes switchin typo (#9242)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-17 17:20:24 -05:00
Meister-anon
7bde1630bf
fix cram form change issue #9182 (#9184)
Co-authored-by: Meister-anon <user@DESKTOP-TQ65PS9>
2026-02-17 19:12:08 +01:00
Eduardo Quezada
56f22adc15
Added Weight battle tests (#9202)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-17 19:08:00 +01:00
Kildemal
07fa2e2751
fix(bttl-anim): remove unused battle selector to silence warning (#9218) 2026-02-17 18:59:02 +01:00
Kildemal
44cecbb7d4
fix(build): fix debug builds failing (#9219) 2026-02-17 18:58:23 +01:00
hedara90
3e5387d3f0
Fix sprite fill using wrong mask in some cases (#9205)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-17 18:55:34 +01:00
PhallenTree
353d011c72
Prevents seteffectprimary and seteffectsecondary from softlocking (#9236)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-17 18:32:29 +01:00
FosterProgramming
bc6bbb1bc5
Make sure grass effect palette ignore fog when time blended (#9235) 2026-02-17 13:54:36 +01:00
FosterProgramming
3fca2dbb6d
Show ability num instead of ability id whn picking ability with debug givemon (#9225) 2026-02-17 10:50:02 +01:00
allcontributors[bot]
fa52f33ffa
add LogicalLlama as a contributor for bug (#9229)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-02-16 22:04:56 -08:00
psf
d01442299a
Running from trainer battles properly handles whiteouts (#9228)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-16 22:58:57 +01:00
Alex
89fbaef8ba
Sky Drop Fixes/Refactor (#9185)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2026-02-16 18:22:53 +01:00
GGbond
9119a6cc53
Fix AI semi-invulnerable move handling and simplify switching logic (#9180)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-16 11:16:28 -05:00
grintoul
a3d9aa7ae2
Fix tera icon palettes (#9208) 2026-02-16 15:57:53 +01:00
cawtds
ae9b313e97
fix id range for object events and multi decrements/increments (#9098) 2026-02-16 15:53:19 +01:00
PhallenTree
757cbc2e7d
Fixes Protective Pads preventing Poison Touch activation (#9222) 2026-02-16 14:25:19 +01:00
Kildemal
86a159a1eb
chore(linker): add dwarf5 line number section to ld script (#2235) 2026-02-15 15:03:12 +00:00
PhallenTree
cf18d086b6
Adds CancelerSetTargets and improves Pre Attack Effects (#9178)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2026-02-14 20:54:01 +01:00
cawtds
5aed923f0d
Fix accuracy bypass (#9201)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-14 08:21:00 +01:00
Pawkkie
74ea702242
Re-enable disabled test (#9200) 2026-02-14 01:07:42 +01:00
GGbond
a3ab5bf693
Fix incorrect player berry animation on opponent’s low-HP heal at battle start (#9198)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-02-13 23:59:08 +00:00
Frank DeBlasio
8ce48920a3
Add defines to Trainer Tower (#9187)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-13 22:42:43 +01:00
Alex
f759eca7de
Remove redundant Levitate check for Magnitute (#9197)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-13 13:30:22 +00:00
GGbond
312ddddc17
Fix multi battle switch checks for Eject items (#9190)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-13 00:00:35 +01:00
Marky
90972534fb
Fix HGSS National Dex List Count (#9189)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-12 15:11:00 +01:00
hedara90
7a4e30315a
Fix moves causing errors in Multiplayer due to recoil check in Battle TV (#9183)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-10 22:52:22 +01:00
Alex
ce15e5486d
Fixes Gulp Missile crash on targets that can be statused (#9179)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-02-10 20:13:27 +01:00
GGbond
1e7208dfca
Fix Commander cleanup after Volt Switch switch-in (#9141)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-10 14:38:16 +01:00
GGbond
164e0c7ebc
Fix Present heal miss-flag handling and enforce Telepathy blocking (#9170)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-02-10 13:56:38 +01:00
GGbond
acfd2f4f8c
Fix Taunt to not block Me First in Gen 5+ (#9069) 2026-02-10 12:05:41 +01:00
GGbond
57c51c0702
Fix Transform fail conditions with gen-specific checks (#9070) 2026-02-10 11:59:09 +01:00
GGbond
20a986519d
Fix Aqua Ring reuse failure check and add Aqua Ring/Ingrain tests (#9174) 2026-02-10 10:00:42 +01:00
GGbond
abeb86837a
Fix Instruct Missing Checks for Focus Punch, Beak Blast, Shell Trap, and Sky Drop (#9152)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-09 20:26:14 +01:00
Pawkkie
e2c5ce3d8e
Fix doubles switch looping (#9167)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-09 18:47:35 +00:00
Kildemal
b7c400ea9c
fix(fanclub): use sText instead of non-existent gText (#9163) 2026-02-09 15:13:26 +01:00
FosterProgramming
9f1cdbdcaa
Add wander around slower movement type (#9164) 2026-02-09 15:10:04 +01:00
Alex
63f5617c29
Fix Pickpocket timing (#9165)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-09 13:26:09 +01:00
Kildemal
ac7e45351d
docs(dns): add nighttime palette user guide (#9158)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-08 07:34:40 -08:00
GGbond
75500c86ab
Add missing weather checks for AI sandstorm/hail damage helpers (#9155)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-08 11:50:59 +01:00
GGbond
d88b82eab2
Fix immunity ability status sync to avoid persisting Toxic counter when only volatile conditions are cured (#9156) 2026-02-08 09:19:10 +01:00
GGbond
4d349e9210
Fix Aroma Veil target-side check for ally-targeted limiting moves (#9157) 2026-02-08 09:15:57 +01:00
surskitty
318baaa5aa
Prevent Coaching score inflation in certain circumstances. (#9154)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2026-02-08 00:13:38 +01:00
FosterProgramming
1c5ea66878
Move tutors makefile (#9058)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-07 07:46:40 +00:00
GGbond
eb7d055d6b
Fix Rare Candy reviving fainted level 100 Pokémon (#9117)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-02-06 18:45:36 +01:00
Frank DeBlasio
064ca5c243
Added macro for Surf/Muddy Water's animation (#2232) 2026-02-06 10:08:20 -05:00
Alex
63fc5bf0fe
Strength Sap fixes (#9130)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-06 15:11:23 +01:00
Eduardo Quezada
32d1777b7a
Use direct config names instead of enum names (#8824)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-06 11:57:33 +01:00
hedara90
83be28dc37
Fix migration script output from move anim documentation (#9140)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-02-06 11:53:41 +01:00
Pawkkie
f102d5d556
Squirtle is not a fire type (#9145)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-06 11:13:10 +01:00
Pawkkie
354cdab5e0
Fix AI_FLAG_RANDOMIZE_SWITCHIN logic (#9128)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-05 21:24:14 +01:00
John Cooper McDonald
e9e1247fa5
Add all of the Z-A mega stone sprites (#9143)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-05 20:14:06 +01:00
PhallenTree
75d2ac742b
Fixes Dancer activating on missed moves and Neutralizing Gas interaction (#9129) 2026-02-05 16:07:18 +01:00
Alex
c937be9e67
Fix ShouldSkipAccuracyCalcPastFirstHit wrong return val (#9122) 2026-02-05 14:35:42 +01:00
Martin Griffin
252388d0fd
master to upcoming, 2026-02-04 (#9131)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-05 08:48:28 +00:00
hedara90
1ec2a5faba
Fix instant text option freezing the game (#9132) 2026-02-05 08:23:14 +00:00
Hedara
227cd6fd27 Fix unused variable 2026-02-04 16:02:57 +01:00
Hedara
7bbabdef43 Re-apply move animation migration 2026-02-04 12:51:09 +01:00
Hedara
0c447063e1 Merge branch 'master' into master-merge
Conflicts:
	data/battle_anim_scripts.s
	include/battle_util.h
	include/constants/expansion.h
	src/battle_anim_dark.c
	src/battle_anim_effects_1.c
	src/battle_anim_normal.c
	src/battle_hold_effects.c
	src/battle_script_commands.c
	src/battle_util.c
	src/debug.c
2026-02-04 12:46:59 +01:00
Frank DeBlasio
dafbe66df4
Converted break_screen_animation from a macro to a function (#9115)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2026-02-04 09:54:14 +01:00
GGbond
564cc3e73e
Fix Instruct failing improperly when the instructed move isn't in the target's moveset (#9113)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2026-02-03 17:32:39 +00:00
Alex
c4e42eae1d
Move SubtractClamped to util.c from battle_util.c (#9120)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-03 11:27:50 +00:00
hedara90
e772770426
Battle Heap and Animation Test fixes (#9118)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Hedara <hedara90@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-02-03 11:41:50 +01:00
khbsd
703d108548
fix(battle ui): standardize hp bar color logic for GEN_5 and up (#9083) 2026-02-03 11:16:00 +01:00
GGbond
4bf88de669
Fix Leppa Berry PP restore target under forced-consumption effects (#9108)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-02 20:49:49 +01:00
psf
03c63f5e4a
NO_WHITEOUT now prevent forfeits from B_RUN_TRAINER_BATTLE (#9112)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-02 18:35:58 +00:00
Alex
45410b94f7
Delete irrelevant battle type comments for expansion (#9082)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-02 14:21:13 +01:00
Alex
69fc092589
Adds Parabolic Charge spread damage healing test (#9094) 2026-02-02 14:12:15 +01:00
FosterProgramming
46ccdd72ce
Fix statement after label issue in chooseboxmon (#9093)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-02 09:42:38 +01:00
FosterProgramming
bc52fd3036
Rename ow_synchronize.c (#9097) 2026-02-02 09:41:07 +01:00
Estellar
65b1b5dd06
sPlayerAvatarGfxToStateFlag's graphics id to u16 (#9101)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-02 09:40:26 +01:00
GriffinR
63390a940e
Merge pull request #2226 from fdeblasio/matchCallDocumentation
Improved Match Call text variables
2026-02-01 13:16:34 -05:00
psf
cbabc4a828
1.14.3 release (#9105)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-02-01 08:42:36 -08:00
Hedara
c8b0d1b08c 1.14.4 cycle start 2026-02-01 17:13:46 +01:00
Hedara
2d17ad27f9 Expansion 1.14.3 release 2026-02-01 17:13:23 +01:00
FosterProgramming
c43dd0c3ca
Fix special var collision with battle frontier tutors (#9072)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-02-01 15:57:21 +00:00
GGbond
ac37c963ae
Prevent Incinerate from burning items under Sticky Hold (#9068) 2026-02-01 15:55:40 +00:00
Eduardo Quezada
4d52960780
Fix Tranformed mon changing forms when fainting (#9106) 2026-02-01 16:52:53 +01:00
Alex
90e4cc4906
Pret merge (31st of January 2026) (#9099)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-31 22:49:53 +01:00
Pawkkie
3c08fac37b
Fix doubles moves bad / choice lock bad switch AI (#9078)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-31 14:43:34 -05:00
Hedara
e758d55a03 Merge remote-tracking branch 'pret/master' into pret-merge
Manual cleanups to the Magma Storm animation and AnimTask_InvertScreenColor

 Conflicts:
	asm/macros/battle_anim_script.inc
	data/battle_anim_scripts.s
	include/constants/battle_anim.h
	src/battle_anim_bug.c
	src/battle_anim_dragon.c
	src/battle_anim_effects_1.c
	src/battle_anim_normal.c
2026-01-31 19:20:54 +01:00
PhallenTree
109a3cd9e7
Clear Selection Scripts to prevents consequent fails (#9095) 2026-01-31 18:37:16 +01:00
PhallenTree
5d5f655b80
Fixes Infiltrator test battler not using intended move (#9096) 2026-01-31 18:36:56 +01:00
GGbond
a0b8c1f980
Fix Electroweb crash by correcting target sprite resolution (#9091)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-31 09:35:17 +01:00
FosterProgramming
d6aac051fb
Fix debug menu using female icon with male palette (#9092)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-31 08:19:59 +00:00
grintoul
2daf7e98e8
Remove trainers_frlg.h from repo for gitignore (#9081)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-30 21:59:28 +00:00
ChrispyChris27
95d3258ef1
Fixes creation of certain overworld sprites in object_event_pic_tables_followers.h (#9065)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-30 16:42:51 -05:00
John Cooper McDonald
1278ffeba0
Z-A Mega sprites from PokeCommunity (#8945) 2026-01-30 22:30:08 +01:00
allcontributors[bot]
0cb34d3605
add ChrispyChris27 as a contributor for code (#9067)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-30 16:23:37 -05:00
hedara90
e620a0a001
Add aif2pcm to gitignore (#9077)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-30 22:19:51 +01:00
hedara90
e3321fa6d8
Remove aif2pcm (#9076)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-30 22:19:05 +01:00
Kildemal
b28878d639
Fixes wild mon target choice in double battles (#9075)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-30 16:18:49 +01:00
Alex
7dca2712ac
Clean up redundant item assignment after it was stolen (#9044) 2026-01-30 15:24:05 +01:00
hedara90
cbebe2da10
30/01/26 Master to upcoming merge (#9074) 2026-01-30 14:28:40 +01:00
PhallenTree
022f5eb52e
Fixes Infiltrator and adds config for Substitute interaction (#9073)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-30 14:14:35 +01:00
Alex
829488e761
Merge branch 'upcoming' into master-merge-3 2026-01-30 12:55:34 +01:00
AlexOn1ine
396c64c22a 30/01/26 Master to upcoming merge 2026-01-30 12:49:21 +01:00
Frank DeBlasio
ee1e02b2ef
Corrected Stone Axe and Ceaseless Edge descriptions (#9062)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-30 01:11:04 +00:00
GGbond
6928d54d46
Fix Pickpocket moveend target checks and Thief/Covet handoff (#9037)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-29 19:02:35 +01:00
PhallenTree
502ff9ed8a
Fixes Fling Booster Energy being prevented by target Paradox mon (#9050)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-29 19:01:37 +01:00
GGbond
08dd7da30c
Fix AI wakeup-turn detection to consider Early Bird (#9053) 2026-01-29 18:33:36 +01:00
Alex
c3b462a139
Mold Breaker, Last Resort, Assume and Tantrum fixes (#9047)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-29 15:09:07 +01:00
GGbond
4198a5cb85
Fix Forewarn edge cases and random selection (#9049)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-29 13:54:28 +01:00
Eduardo Quezada
278739ee66
Form Change Improvements (#8850)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-01-29 00:35:08 +01:00
Bassoonian
b3b56b3767
Fix FRLG comment oversight in `script_cmd_table.inc` (#9043) 2026-01-28 13:37:48 -08:00
Bassoonian
9afdd698d9
Fix another FRLG style oversight (#9046) 2026-01-28 13:37:21 -08:00
cawtds
ea102b358d
documentation on how to use frlg (#9045) 2026-01-28 13:35:38 -08:00
Frank DeBlasio
db3e5cc1fd
Consolidated common steps for Brick Break, Psychic Fang, and Raging Bull's animations (#9020) 2026-01-28 17:47:00 +01:00
cawtds
97e83ebe6a
Add FRLG (#7423) 2026-01-28 17:41:12 +01:00
Frank DeBlasio
e80ae56903
Even more battle environment updates (#8835)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-28 16:00:14 +01:00
PhallenTree
dd21d8fae4
Fixes Fling being usable with reusable TMs (#8906)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-28 15:50:45 +01:00
FosterProgramming
edaa838a20
Fix berry tree spawning with max yield when OW_BERRY_ALWAYS_WATERABLE is active (#8976)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2026-01-28 15:50:06 +01:00
Alex
0c44cc1b27
Move Target failure follow up (#8986)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-01-28 15:48:14 +01:00
Alex
ec9ba22f87
Fixes to Commander and Emergency Exit (#9040) 2026-01-28 15:47:07 +01:00
Eduardo Quezada
4a4a72f9fb
Added enum BattlerId type checks (#8954) 2026-01-28 09:32:03 +01:00
Frank DeBlasio
b88554198e
Fixed instances of COMBO_STARTER_CHARGE used incorrectly (#9034)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-28 01:53:23 +00:00
Alex
c8eb55969e
Add accuracy check to BattleScript_EffectNightmare (#9032)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-27 16:17:25 +01:00
GGbond
aafc581460
Fix Psych Up wrong battler message and Gen 6+ crit ratio copying (#9015) 2026-01-27 15:44:42 +01:00
GGbond
e0fb60ba09
Fix Synchronoise typeless behavior in Gen7+ (#9031) 2026-01-27 15:39:59 +01:00
FosterProgramming
c468c9a5f7
Fix substitute follower appearing with dead party (#9028) 2026-01-27 14:17:26 +01:00
grintoul
501d0e2fb8
26/01/26 Master to upcoming merge (#9029)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-26 19:30:28 +00:00
AlexOn1ine
f8266b828b 26/01/26 Master to upcoming merge 2026-01-26 19:35:43 +01:00
psf
433f55157c
fix: updated rulings about big feature label (#9027) 2026-01-26 13:19:55 -05:00
PhallenTree
cb697f5d7d
Fixes Beak Blast burning attacker when charging 2 turn move (#9026) 2026-01-26 18:16:01 +01:00
GGbond
b27eb839ed
Fix Crafty Shield consecutive-use failure (#9023) 2026-01-26 14:51:55 +01:00
GGbond
21492e0f23
Fix Foresight/Miracle Eye repeated-use behavior (#9025) 2026-01-26 14:48:39 +01:00
grintoul
30db62d4b7
Remove player party shiny bit setting in CreateFrontierBrainPokemon (#9022) 2026-01-26 00:17:12 +01:00
PhallenTree
c0be19647f
Adds assertf for incorrect usage of ends, return, call and selection script commands (#9018) 2026-01-25 19:49:08 +01:00
allcontributors[bot]
1cbbb304a9
add PacFire as a contributor for design (#9017)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-25 18:48:04 +01:00
Frank DeBlasio
eda40c3798
Add missing copycatBanned to Mirror Coat (#9016)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-01-25 18:21:59 +01:00
Eduardo Quezada
b07fe3f826
Fixed Link Overworld (#9014) 2026-01-25 14:59:26 +01:00
khbsd
12970602ce
fix: IsDoubleBattle() return value (#9012) 2026-01-25 10:15:01 +01:00
Eduardo Quezada
89da62b02d
Remove trailing whitespace - Master (#9011) 2026-01-25 10:12:41 +01:00
GGbond
e871913e22
Fix Magnetic Flux target handling in singles (#9007) 2026-01-24 08:45:19 +01:00
FosterProgramming
74d8af2286
Fix return to field when selecting a move to forget (#9000) 2026-01-23 22:34:28 +00:00
PhallenTree
7722ebf470
Fixes Hyperspace Fury not breaking protection (#8999) 2026-01-23 22:28:22 +00:00
FosterProgramming
96e63e761a
Fix gender selecting task not waiting for input (#9001) 2026-01-23 22:22:43 +00:00
Frank DeBlasio
feb4d3b976
Properly capitalized the comments of new move animations (#9002)
Co-authored-by: grintoul <166724814+grintoul1@users.noreply.github.com>
2026-01-23 22:13:56 +00:00
khbsd
2d09384229
fix: add __attribute__((packed)) to enum Direction (#8994) 2026-01-23 11:38:13 +01:00
FosterProgramming
fe2c154b89
Refactor chooseboxmon (#8491)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-01-22 19:54:19 +01:00
Bassoonian
fb4c8ef62c
More type checking across the repo (#8988) 2026-01-22 17:40:09 +01:00
GGbond
5308124191
Align Crafty Shield with wiki and refine IsAllyProtectingFromMove (#8990) 2026-01-22 17:36:07 +01:00
allcontributors[bot]
670bd806e5
add SabataLunar as a contributor for design (#8985) 2026-01-21 15:50:13 +01:00
GGbond
a2c5332e13
AI uses Tailwind with Wind Rider and Wind Power (#8983) 2026-01-21 12:58:09 +01:00
Bassoonian
61f8a50751
Add even more type checking (#8972) 2026-01-21 12:56:13 +01:00
Alex
da62ebcffd
Move attack canceler to the move resolution file (#8921) 2026-01-21 12:11:37 +01:00
Alex
6c05a08750
Refactor OHKO Moves (#8916) 2026-01-21 11:55:30 +01:00
Linathan
3ceaec2e60
Add Egg Moves to Pokémon introduced in Legends Arceus (#8982)
Co-authored-by: LinathanZel <LinathanZel@github.com>
2026-01-21 11:54:06 +01:00
FosterProgramming
2eef017daf
Fix premier ball wrong data size (#8979) 2026-01-21 01:19:29 +01:00
FosterProgramming
25ea52385e
Fix checking for frontier banned disabled species (#8980) 2026-01-21 01:18:59 +01:00
surskitty
2c2cfc5ce3
AI sees No Guard prevents having Semi Invulnerability. (#8586) 2026-01-20 15:53:23 -08:00
GGbond
128beb39e1
Fixed several issues with Parting Shot (#8928) 2026-01-20 22:06:50 +01:00
GGbond
c899479709
Fix the speed scoring of Tailwind for AI (#8968) 2026-01-20 22:04:09 +01:00
FosterProgramming
f10204abee
Fix checking for rare move in disabled species (#8977) 2026-01-20 22:02:17 +01:00
FosterProgramming
f1067bfdfc
Fix winning moves (#8978) 2026-01-20 22:01:50 +01:00
hedara90
6b63ebf22c
Add missing sprite fill functions (#8975) 2026-01-20 17:02:20 +01:00
Bassoonian
d12929ffbd
Pret merge (20th of January, 2026) (#8973) 2026-01-20 14:35:55 +01:00
hedara90
3b241b561a
Move CMD_ARGS to battle_script_commands (#8974)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-20 14:31:36 +01:00
FosterProgramming
298bf85759
Fix vivillon icy snow icon (#8970) 2026-01-20 13:05:28 +01:00
Alex
922db5ce4a
Move adjustdamage to the damage calc (#8948) 2026-01-20 12:30:00 +01:00
hedara90
f9c826ca57
Merge pull request #2228 from hedara90/fix-spaces
Fix spaces instead of tabs in battle_anim_scripts.s
2026-01-20 11:13:48 +00:00
Frank DeBlasio
7b4eb6ce40
Poke Ball consolidation (#8962) 2026-01-20 00:02:34 +01:00
Hedara
594a4c7ec3 Merge commit 'dc077e50d3a2d52964a52ce9a9e81fd99586dd4f' into pret-merge
Conflicts:
	.github/workflows/build.yml
	asm/macros/battle_script.inc
	include/constants/battle_script_commands.h
	src/battle_controllers.c
	src/battle_script_commands.c
	src/data/graphics/battle_environment.h
	src/party_menu.c
2026-01-19 21:40:27 +01:00
Pawkkie
74f0e6286b
Amend "SS Item" category of scope doc (#8966) 2026-01-19 14:21:50 -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
GGbond
52d61546c9
Fix AI absorber switching for edge cases (#8964) 2026-01-19 13:14:56 -05:00
GriffinR
dc077e50d3
Merge pull request #2225 from fdeblasio/stadiumRenames
Renamed building and stadium palettes to be more accurate
2026-01-19 10:51:21 -05:00
Frank DeBlasio
058c46aba7
Refactor Lilycove quiz and favor ladies (#8929) 2026-01-19 16:20:41 +01:00
hedara90
f75f7e90bf
Cleanup healthbox printing (#8958)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-19 16:18:32 +01: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
2ea4cf42cc
Merge pull request #2227 from Jaizu/patch-11
Use apt update before installing bin utils
2026-01-18 17:46:52 -05:00
Jaizu
be8057540b
Use apt update before installing bin utils
Seems to fix CLI actions!
2026-01-18 20:14:16 +01:00
amiosi
c6fa900f21
Fix Memento and Block regressions (#8942) 2026-01-18 18:06:33 +01:00
hedara90
aabdf17719
Fix file endings for White-Stripe Basculin palettes (#8956) 2026-01-18 15:42:10 +01:00
amiosi
355a6f8221
Mega Gardevoir should always be Fairy-type (#8955) 2026-01-18 11:09:43 +01:00
SabataLunar
6c8358c910
New White Stripe Basculin Sprites (#8926) 2026-01-18 10:32:47 +01:00
FosterProgramming
8d059cf5c4
Change randomweightedarray to use u16 weights instead of u8 (#8934) 2026-01-18 10:24:49 +01:00
amiosi
21a3b5229a
Fix Metronome bans (#8834) 2026-01-18 09:27:14 +01:00
Eduardo Quezada
258cc08533
GetBattleTrainer -> GetBattlerTrainer (#8952) 2026-01-18 09:08:33 +01:00
GGbond
925d929c06
AI avoids Protect against Unseen Fist and protection‑ignoring moves (#8939) 2026-01-18 04:11:39 +00:00
Eduardo Quezada
f0c79076c0
Consolidated HandleStatusIconUpdate (#8925) 2026-01-17 22:11:59 +01:00
FosterProgramming
07232f9aea
Remove assert for surpassing total ev cap (#8938)
Co-authored-by: grintoul <166724814+grintoul1@users.noreply.github.com>
2026-01-17 20:48:33 +00:00
hedara90
9023b203c7
Add sprite fill function taking a sprite as argument (#8940)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-17 21:30:02 +01:00
GGbond
664084a9ef
Add tests for type-changing abilities (#8794) 2026-01-17 17:18:49 +00:00
cawtds
7b03c2e238
Fix teleport location (#8941) 2026-01-17 15:48:45 +01:00
Bassoonian
36fcd9c6b2
Adds `Item` enum (#8897) 2026-01-17 02:26:09 -08:00
Alex
de7aaf854c
Misc battle engine changes (#8931) 2026-01-16 18:55:22 +01:00
Linathan
31d3e5f022
Add missing cries for Cramorant-Gulping, Cramorant-Gorging, Oinkologne-Female, and Ursaluna-Bloodmoon (#8911)
Co-authored-by: LinathanZel <LinathanZel@github.com>
2026-01-16 07:19:23 +00:00
Eduardo Quezada
bcae4e2110
Restore natural 0 battle TV score (#8901) 2026-01-15 13:17:54 +01:00
Eduardo Quezada
a8df4c58cf
Apply some cases of STATUS1_ICY_ANY (#8924) 2026-01-15 13:16:46 +01:00
allcontributors[bot]
b84229ee19
add Kasenn as a contributor for code (#8927)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-15 13:16:11 +01:00
John Cooper McDonald
4ccf0115a1
Allow renaming and move relearning from box summary screen (#8854) 2026-01-15 12:20:14 +01:00
Kasenn
ef48a4d155
Change HP bar color calculation from pixel-width to actual values (#8694) 2026-01-15 10:52:24 +01:00
Alex
46c690d175
Fix brackets in SetMoveEffect (#8922) 2026-01-15 10:48:02 +01:00
Frank DeBlasio
b14e22d58e
Standardized item indentation (#8913) 2026-01-14 17:59:30 -08:00
Eduardo Quezada
c2256e5e59
Added tests for fainting form changes (#8912) 2026-01-14 23:37:12 +01:00
grintoul
8c4fa6e71d
Refactor multi test system trainer party allocation and adds enum BattleTrainer (#8908) 2026-01-14 23:33:24 +01:00
Phexi
955617381f
fix ITEM_NONE being considered a form change item by DoesSpeciesUseHoldItemToChangeForm (#8915) 2026-01-14 18:41:00 +01:00
Bassoonian
786c3d948f
Battle file cleanup & documentation (#8903) 2026-01-14 12:17:21 +01:00
FosterProgramming
550fe9a7de
Refactor pokerus and add configs (#7731)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2026-01-14 12:04:33 +01:00
Alex
533d6494e6
Master to upcoming, 2026-01-13 (#8909) 2026-01-14 00:49:48 +01:00
Alex
bb41e5622c
Refactor move target failure (#8696)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-01-13 15:13:38 -08:00
spindrift64
f3f4b06d2c
Add config flag to skip save overwrite confirmation (#8659) 2026-01-13 22:56:07 +01:00
Hedara
e0b4e7be44 Merge branch 'master' into master-to-upcoming
Conflicts:
	include/constants/script_commands.h
	src/battle_util.c
	test/text.c
2026-01-13 20:46:03 +01:00
Linathan
4c4255f69b
Add Legends Z-A cries (#8151) 2026-01-13 20:18:24 +01:00
Estellar
1e19c5921a
Only test if move name fits on the bag screen for moves names within a TM/HM (#8882)
Co-authored-by: FosterProgramming <jamiefosterandco@gmail.com>
2026-01-13 17:34:01 +01:00
amiosi
9798b6c7d7
Changes to Item icons and palettes (#8614) 2026-01-13 15:16:26 +01:00
amiosi
481e0370b5
Gen 3 Lax Incense (#8864) 2026-01-13 15:10:37 +01:00
Estellar
016cbcd8a4
Fix misaligned shadows of transformed mons when B_ENEMY_MON_SHADOW_STYLE <= GEN_3 (#8887) 2026-01-13 15:08:38 +01:00
Eduardo Quezada
439e19ff76
Fix Daycare party select with ChooseBoxMon (#8845) 2026-01-13 11:35:11 +01:00
allcontributors[bot]
50428e0cab
add ostomachion as a contributor for code (#8905)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-12 19:55:51 -08:00
Josh Hufford
53984af384
Fix typo in Salazzle form species ID table reference (#8904) 2026-01-13 03:25:24 +01:00
Bassoonian
37211c611b
Deleted unnecessary files (#8899) 2026-01-12 22:01:22 +01:00
Frank DeBlasio
36119e45d8
More contest code consolidation (#8889) 2026-01-12 21:21:21 +01:00
Frank DeBlasio
6dfcde7d48
Decoupled trainer gender from encounter music (#8892) 2026-01-12 17:45:44 +01:00
Alex
550469891a
Add setpreattackadditionaleffect and use it for brick break / spectra… (#8719) 2026-01-12 17:13:39 +01:00
Alex
d9b31444c2
Follow up for anim issue in doubles (#8894) 2026-01-12 17:03:31 +01:00
Bassoonian
6f74c1e402
Fix wrong cases of DamageContext (#8895) 2026-01-12 11:01:15 +00:00
Bassoonian
36701d2eae
Fix wrong getter in GetSwitchinStatusDamage (#8896) 2026-01-12 10:59:14 +00:00
Frank DeBlasio
df69d1e441
Updated Lemonade's description's formatting to match the rest of the healing items (#8888) 2026-01-12 08:41:14 +00:00
Linathan
12bf8da4ec
Fixed an issue where double targeting a Pokemon on a single mon party causes animation issues (#8891)
Co-authored-by: LinathanZel <LinathanZel@github.com>
2026-01-12 08:31:04 +00:00
Montblanc
3d630d4888
Fixed Acc value shadow cut off when Accuracy = 100 (#8886) 2026-01-12 06:49:40 +01:00
Frank DeBlasio
835a89ac7e
Sprite Visualizer font update (#8883) 2026-01-11 23:26:23 +01:00
Frank DeBlasio
a15d9a81f9
Adding move animation backgrounds to the Pokemon Sprite Visualizer (#8764) 2026-01-11 22:59:14 +01:00
Meister-anon
6aaf5d43dc
cleanup GetMon Null Data Instances (#8867)
Co-authored-by: Meister-anon <user@DESKTOP-TQ65PS9>
2026-01-11 22:03:10 +01:00
hedara90
b213d430e0
Fix Protosynthesis/Quark Drive defensive boost calculation (#8875)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-11 21:14:51 +01:00
amiosi
3dfef14c77
Fix Gen 4 Taunt for upcoming (#8878) 2026-01-11 20:23:47 +01:00
hedara90
3195480199
Master to upcoming, 2026-01-11 (#8880) 2026-01-11 20:18:29 +01:00
Eduardo Quezada
a611ed901a Fix Comatose test, thanks Jamie 2026-01-11 15:51:47 -03:00
psf
39bec6fa0c
Update CONTRIBUTING.md (#8879) 2026-01-11 19:20:09 +01:00
Eduardo Quezada
c631ea1ddd Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/masterMerge 2026-01-11 15:10:21 -03:00
Eduardo Quezada
46e23967ec Merge branch '_RHH/master' into _RHH/pr/upcoming/masterMerge 2026-01-11 15:08:31 -03:00
Eduardo Quezada
4df79828ac Merge branch '_RHH/master' into _RHH/pr/upcoming/masterMerge 2026-01-11 15:06:42 -03:00
hedara90
e04f715c28
Fix ability name printing for trainer mon ability assertf (#8877)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-11 18:55:42 +01:00
amiosi
0870fe24c7
Miscellaneous species_info Changes (#8462) 2026-01-11 18:54:43 +01:00
Frank DeBlasio
e587cff9dd
Refactor exchange service corner (#8840) 2026-01-11 18:31:38 +01:00
FosterProgramming
78ccd6bb28
Fix capture using strange ball (#8874) 2026-01-11 16:58:58 +01:00
GGbond
b671adf85f
Fixes Nightmare not affecting Comatose and adds various missing tests (#8859) 2026-01-11 15:02:41 +00:00
Bassoonian
b0f922d3c1
Adds type checking for battler positions (#8792) 2026-01-11 14:53:22 +00:00
Eduardo Quezada
41038cbc88
Fix in-battle form changes always reverting (#8810) 2026-01-11 15:33:12 +01:00
hedara90
b1de0a8484
Fix Hyper Beam animation (#8872)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-11 15:23:07 +01:00
Linathan
3e273221ff
Add Legends Z-A: Mega Dimension content (#8550)
Co-authored-by: LinathanZel <LinathanZel@github.com>
Co-authored-by: root <root@Linathan.localdomain>
2026-01-11 13:51:19 +01:00
FosterProgramming
8ad0451914
Capture odds refactor and new catch rate modifiers (#8682)
Co-authored-by: kittenchilly <mario.pikmin.zelda@gmail.com>
2026-01-11 09:52:38 +01:00
hedara90
5bef7435af
Reduce area filled when printing HP (#8866)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-11 08:48:49 +00:00
Estellar
aa34dc72f5
Remove hacky spaces from src/data/battle_environment.h (#8828) 2026-01-10 18:24:02 +01:00
Alex
c76c3b37bb
Refactor protect failure to match vanilla (#8832) 2026-01-10 18:23:01 +01:00
FosterProgramming
ad31eb7149
Fix trailing commas in define (#8863) 2026-01-10 18:21:14 +01:00
FosterProgramming
350f49cb64
Fix trade evo with partner (#8857) 2026-01-10 18:09:55 +01:00
GGbond
368098c402
Fix Sticky Hold blocking user's own Trick or Bestow (#8860) 2026-01-10 11:20:46 +00:00
Eduardo Quezada
8681cbcd84
Clean-up PR: Test summary order (#8853) 2026-01-09 21:36:14 +00:00
hedara90
9a09de66dd
Clear out text printer when closing dialogue windows (#8848)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-09 19:46:40 +01:00
FosterProgramming
f32883f38a
Fix in-game trade not having moves (missing default moves again) (#8851) 2026-01-09 18:29:26 +01:00
PhallenTree
ad6b64432e
Improve IsBattlerSpritePresent's alive check (#8847) 2026-01-09 14:59:37 +01:00
hedara90
c5921cedad
Fix auto-signpost textprinter (#8833)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-08 15:34:44 -08:00
Eduardo Quezada
85b5dac4d0
Support end-of-battle party data check in tests (#8831) 2026-01-09 00:09:44 +01:00
FosterProgramming
7ccac14584
Rework teachable learnset makefile (#8803) 2026-01-08 23:02:17 +01:00
Frank DeBlasio
722ba2cb02
Standardized use of macros in LoadPalette (#8822) 2026-01-08 17:15:23 +01:00
FosterProgramming
d6fc8cee51
Fix missing deafult moves for trainer parties (#8829) 2026-01-08 17:10:17 +01:00
amiosi
dc128c608b
add the type boost value for gen 3 sea incense (#8826) 2026-01-08 11:35:21 +01:00
hedara90
2b3d4be395
Fix struct TextPrinterTemplate on old GCC versions (#8825)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-07 23:10:09 +01:00
hedara90
c9c85f1584
Sprite text printing improvements (#8345)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-07 21:38:26 +01:00
FosterProgramming
4527557761
Another MOVE_DEFAULT bugfix (#8823) 2026-01-07 11:07:12 -08:00
PCG
d34c7f0ba6
Refactor move relearner and small #8027 follow-up (#8675) 2026-01-07 14:49:39 +01:00
artsquirrelb
73295f8d07
fix small mistake in ScriptGiveMonParameterized (#8820) 2026-01-07 13:58:42 +01:00
Frank DeBlasio
f6be01e92c
More battle environment updates (#8809) 2026-01-06 22:10:08 +01:00
Alex
2183fa748a
Fix field abilities activating when an other mon switches in (#8743) 2026-01-06 15:04:11 +00:00
Eduardo Quezada
45295d9544
B_ABILITY_TRIGGER_CHANCE config tests (#8594) 2026-01-06 15:53:29 +01:00
Frank DeBlasio
ec0db10694
Consolidate battle anim particles (#8797) 2026-01-06 14:09:29 +01:00
Alex
5b76c96411
Update volatiles once again (#8798) 2026-01-06 01:09:53 +01:00
amiosi
126100c027
fix crash damage implementation and incorrect memento generation (#8804)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-01-06 00:18:46 +01:00
Frank DeBlasio
faa779ea2c
Added Secret Power animations to gBattleEnvironmentInfo (#8807) 2026-01-05 23:03:13 +01:00
Frank DeBlasio
a9ac53d3c4
Fixed GetCopycatMove's capitalization (#8808) 2026-01-05 22:36:37 +01:00
Alex
e462122ed3
Replaced undeclared variable in Cmd_tryswapitems; commented out Eject Button test conflicting with another Commander test (#8805) 2026-01-05 19:37:53 +01:00
grintoul1
8bf8ab54ac Replaced undeclared variable in Cmd_tryswapitems; commented out Eject Button test conflicting with another Commander test 2026-01-05 17:57:46 +00:00
Kildemal
54b3a0e410
Add handling for Trick/Switcheroo behavior when both battlers are choice-locked (pre–Gen 5) (#8730) 2026-01-05 14:22:07 +00:00
FosterProgramming
8c9d3b9c7a
Add gym leader support for vs seeker and clean vs seeker code (#8172)
Co-authored-by: psf <77138753+pkmnsnfrn@users.noreply.github.com>
2026-01-04 20:03:41 -08:00
FosterProgramming
1dcfe54b59
Refactor mon generation (#8204)
Co-authored-by: psf <77138753+pkmnsnfrn@users.noreply.github.com>
2026-01-04 20:01:59 -08:00
Alex
52455d2c59
Small code deduplication in battle_ai_switch.c (#8790) 2026-01-04 21:15:48 +01:00
Alex
c7301f6889
Master to upcoming, 2026-01-04 (#8796) 2026-01-04 18:42:05 +01:00
Hedara
7fed5c93bb Merge branch 'upcoming' into master-to-upcoming 2026-01-04 17:34:20 +01:00
Hedara
dd158fecc4 Merge branch 'master' into master-to-upcoming 2026-01-04 17:34:13 +01:00
Hedara
82c474bcd0 Merge branch 'master' into master-to-upcoming
Conflicts:
	include/config/battle.h
2026-01-04 17:31:25 +01:00
Hedara
0b91e2772f Merge commit '900abdb5a6aa9703c83316d4463c0ff43e57548f' into master-to-upcoming
Conflicts:
	asm/macros/battle_script.inc
	src/battle_script_commands.c
2026-01-04 17:26:53 +01:00
PhallenTree
a06894b5ee
Ability Shield allows for ability activation when obtained and Trick cleanup (#8784) 2026-01-04 17:23:36 +01:00
PhallenTree
bda2064ecf
Fixes Chilly Reception displaying its message when called by another move (#8795) 2026-01-04 16:50:43 +01:00
GGbond
5ee69235ef
Improve Trick/Bestow AI logic for Toxic/Flame Orb and Utility Umbrella (#8729) 2026-01-04 15:27:11 +00:00
Bassoonian
01fd137182
Convert `IsMonBannedFromSkyBattles` table to species flag (#8793) 2026-01-04 16:03:15 +01:00
Bassoonian
66df755e9a
Extra enum typechecking (#8786) 2026-01-04 12:48:21 +01:00
Bassoonian
0bed4761a1
Fix wrongly getting a battler position in the type effectiveness functions (#8787) 2026-01-04 12:46:00 +01:00
Hedara
78124e88d7 Merge commit '0e33bf916e80e4dcf4f96ca0419a8b2fda5da51d' into master-to-upcoming
Conflicts:
	src/battle_main.c
	test/battle/ability/beads_of_ruin.c
	test/battle/ability/commander.c
	test/battle/ability/desolate_land.c
	test/battle/ability/primordial_sea.c
	test/battle/ability/supreme_overlord.c
	test/battle/ability/sword_of_ruin.c
	test/battle/ability/tablets_of_ruin.c
	test/battle/ability/vessel_of_ruin.c
	test/battle/ai/ai.c
	test/battle/ai/ai_multi.c
	test/battle/ai/ai_switching.c
	test/battle/gimmick/dynamax.c
	test/battle/move_effect/counter.c
	test/battle/move_effect/fling.c
	test/battle/move_effect/mirror_coat.c
	test/battle/move_effect/misty_explosion.c
	test/battle/move_effect/protect.c
	test/battle/move_effect/psychic_terrain.c
	test/battle/move_effect/sticky_web.c
	test/battle/trainer_slides.c
2026-01-04 11:28:59 +01: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
grintoul
838d582381
enum TrainerPicID to replace defines for TRAINER_PIC_XXXX and TRAINER_BACK_PIC_XXXX (#8789)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-01-03 16:41:11 -08:00
cawtds
426a23511b fix battler 2026-01-04 00:58:31 +01:00
cawtds
e0b8101f4a use IsBattlerAlive, change condition order 2026-01-04 00:55:45 +01:00
cawtds
39bcd50558 consolidate duplicate code 2026-01-04 00:36:53 +01:00
Frank DeBlasio
2fba6a4da4
Simplified sprite visualizer's battle backgrounds (#8775) 2026-01-03 22:59:34 +01: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
bassforte123
c39eb48b04
Updating IsNonVolatileStatusBlocked (#8728) 2026-01-03 19:59:44 +01:00
John Cooper McDonald
a15d51083a
Various sprite visualizer fixes if configs disabled (#8697)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2026-01-03 17:21:36 +00:00
Bassoonian
eba17e6860
Remove credits from code (#8748) 2026-01-03 18:21:13 +01:00
allcontributors[bot]
6f36f55696
add Skeli789 as a contributor for design (#8785)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-03 18:18:13 +01:00
Zimmermann Gyula
8cd51b94b0
Add Gen2 OW_TIMES_OF_DAY configuration. (#8176) 2026-01-03 09:08:43 -08:00
Alex
d9da5ee874
Fix Red Card / Eject Button interaction (#8780) 2026-01-03 16:54:04 +00:00
Bassoonian
3755e51a24
Move enum (#8739) 2026-01-03 17:43:48 +01:00
amiosi
c506d52d32
Miscellaneous fixes to configs and other values (#8662) 2026-01-03 17:34:30 +01:00
Alex
906b1c8ea9
Clean up volatiles (#8762) 2026-01-03 17:25:19 +01:00
Frank DeBlasio
578b5c0a8d
Easy chat data refactor (#8271) 2026-01-03 08:18:22 -08:00
Kildemal
ad6469718b
Add pre–Gen 4 handling for Hidden Power and Counter interaction (#8741) 2026-01-03 17:14:59 +01:00
Bassoonian
7d291d9b01
Port old list of credits to modern system (#7887) 2026-01-03 17:11:38 +01:00
FosterProgramming
b3defd99fc
Add a cleaner way to reset all_learnables.json (#8747) 2026-01-03 17:08:48 +01:00
GGbond
ee584217ad
Fix Cheek Pouch not activating for Bug Bite, Pluck, and Fling berry effects (#8782) 2026-01-03 17:08:06 +01:00
allcontributors[bot]
aec673ac98
add izrofid as a contributor for code (#8781)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-03 16:04:24 +01:00
Kildemal
9be5a2aa77
Add inverse battle type matchup test (#8779) 2026-01-03 15:01:04 +00:00
Alex
e04028420a
Further weather consolidation (#8161) 2026-01-03 15:39:22 +01:00
Alex
900abdb5a6
Add enum for battle script commands (#8778) 2026-01-03 13:52:21 +00:00
Estellar
0a1e1e973d
DMA micro optimization (#8410) 2026-01-02 23:53:01 -08:00
moostoet
1510947001
Fix Rage generational inaccuracies (#8642) 2026-01-03 08:51:31 +01:00
moostoet
0e33bf916e
Fix berry activation timing for Yawn sleep and Leech Seed damage (#8776) 2026-01-03 08:50:17 +01:00
Frank DeBlasio
667ae0cc70
Migrated some strings out of strings.c/strings.h (#8270) 2026-01-02 23:48:00 -08:00
FosterProgramming
86ab719469
Disable L button config (throw ball shortcut or move description) when there is overlap with L=A option (#8332) 2026-01-02 23:39:59 -08: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
amiosi
add14d90ff
Miscellaneous Item Changes (#8461) 2026-01-02 20:31:11 +01:00
allcontributors[bot]
d6a1cf357a
add Jaizu as a contributor for code (#8757)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 18:05:08 +01:00
allcontributors[bot]
2055adcfed
add SonikkuA-DatH as a contributor for design (#8756)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 18:03:44 +01:00
grintoul
e82ed111ba
Misc style and whitespace cleanup (#8681) 2026-01-02 18:01:43 +01:00
FosterProgramming
d214d178f3
Add check to warn of a non-working config setup (#8686) 2026-01-02 15:57:09 +01:00
allcontributors[bot]
09273e7b44
add Gamer2020 as a contributor for code (#8755)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:54:03 +01:00
allcontributors[bot]
25634189d1
add ShinyDragonHunter as a contributor for code (#8754)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:51:22 +01:00
allcontributors[bot]
297ec72580
add luckytyphlosion as a contributor for code (#8753)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:49:56 +01:00
allcontributors[bot]
85e2ed385d
add ZnogyroP as a contributor for design (#8752)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:46:09 +01:00
allcontributors[bot]
3a1c5c8f0a
add Pyredrid as a contributor for code (#8751)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:40:16 +01:00
allcontributors[bot]
ab49528fad
add TheXaman as a contributor for code (#8750)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:38:47 +01:00
allcontributors[bot]
c73da406e1
add ghoulslash as a contributor for design (#8749)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-02 15:36:54 +01:00
Bassoonian
cded31fa7f
Master to upcoming, 2026-01-02 (#8746) 2026-01-02 15:24:09 +01:00
Hedara
addb11cfa2 Merge branch 'master' into master-to-upcoming
Conflicts:
	include/constants/expansion.h
	src/battle_script_commands.c
2026-01-02 11:49:03 +01:00
psf
167361fee4
1.14.2 release (#8745) 2026-01-02 02:37:26 -08:00
Hedara
c09339cc46 Start of 1.14.3 cycle 2026-01-02 10:45:08 +01:00
Hedara
64d40d3c14 Expansion 1.14.2 release 2026-01-02 10:41:18 +01:00
lordraindance2
eee89c0a60
Added a include/config option to change mega cry sounds (#7558) 2026-01-02 10:19:34 +01:00
Bassoonian
c3d1487838
Pret merge (1st of January, 2026) (#8737) 2026-01-02 10:18:02 +01:00
FosterProgramming
9e1a593d35
Refactor dexnav to not use overworld task (#8602) 2026-01-02 09:38:55 +01:00
Hedara
4bdef731e4 Merge remote-tracking branch 'pret/master' into pret-merge
Conflicts:
	include/constants/battle_ai.h
	src/battle_ai_script_commands.c
	src/battle_gfx_sfx_util.c
	src/pokemon_summary_screen.c
	src/trainer_pokemon_sprites.c
2026-01-01 22:16:58 +01:00
PhallenTree
4da0cf72e6
Adds tests for Beak Blast not burning when the target is protected (#8713) 2026-01-01 20:08:43 +00:00
hedara90
53af14ca28
Add error handling to BS_GetStatValue (#8734)
Co-authored-by: Hedara <hedara90@gmail.com>
2026-01-01 16:22:30 +01:00
allcontributors[bot]
b82c8f166e
add mrdollsteak as a contributor for data (#8733)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-01 13:32:07 +01:00
hedara90
f91b052f7a
01/01/26 Master to upcoming merge (#8731) 2026-01-01 11:59:18 +01:00
AlexOn1ine
5dc8d9a33d fix release compiling 2026-01-01 10:41:09 +01:00
AlexOn1ine
a1948b7c40 01/01/26 Master to upcoming merge 2026-01-01 10:24:19 +01:00
Pawkkie
39c142a879
Add AI_FLAG_RANDOMIZE_PARTY_INDICES (#8717) 2025-12-31 22:56:22 +01:00
Kildemal
cd0834237b
Add some missing tests for heatproof, thick fat and grudge (#8705) 2025-12-31 14:37:16 +00:00
grintoul
48c48ca583
Remove unused moveEffect variable in MoveEnd_MultihitMove to fix upcoming (#8715) 2025-12-31 00:07:22 -05:00
hedara90
c0d4f0e45f
Use release instead of LTO in CI (#8706)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-31 00:13:23 +00:00
Alex
3021cc8d5a
Change Present edge case (#8708) 2025-12-31 00:11:16 +00:00
Alex
505aafee14
Clean up GenConfigTimeOfDay (#8710) 2025-12-31 00:08:41 +00:00
grintoul
a71fc91484
Trainer slides for multiple trainers and multibattles (#7588)
Co-authored-by: hedara90 <90hedara@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-30 20:28:53 +00:00
Martin Griffin
13b7dc4401
Document UpdateLegendaryMarkingColor (#2221) 2025-12-30 14:39:09 -05:00
Alex
5774dde7ae
Adds smart target type (#8639) 2025-12-30 19:16:03 +01:00
GGbond
71609a404d
Add tests for abilities that affect weather (#8709) 2025-12-30 17:47:33 +01:00
grintoul
dcc584c6d6
Fixes incorrect battler used in STRINGID_USEDINSTRUCTEDMOVE (#8704) 2025-12-29 21:57:10 +01:00
hedara90
f10d722af7
Fix Aqua Ring animation (#8707)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-29 21:34:06 +01:00
GGbond
27958fbba4
Fix some bugs related to abilities (#8695) 2025-12-29 19:59:18 +01:00
Alex
3a8fdf9fad
Create battle_move_resolution.c (#8703) 2025-12-29 16:13:45 +01:00
Marcus Huderle
9045b9b582 Remove mistakenly-added test file 2025-12-29 07:41:43 -06:00
John Cooper McDonald
36c28c449a
Fix Naclstack and Garganacl shadows (#8698) 2025-12-29 12:02:42 +01:00
Alex
ad2eb18364
Clean up for touchedProtectLike (#8699) 2025-12-28 22:26:58 +01:00
Gudf
a65194be5b
Fix update_text_color_defs.py on Python < 3.12 (#8549) 2025-12-28 21:44:30 +01:00
PhallenTree
0e8f94f380
Fixes Kingambit evolution conditions (#8689) 2025-12-28 21:27:19 +01:00
PhallenTree
d5c40bbbdd
Add Move End Faint Block (#8673) 2025-12-28 20:44:39 +01:00
Marcus Huderle
163c8a4321 Add --set-agbl option to wav2agb 2025-12-28 08:50:34 -06:00
grintoul
6e9f8998b4
Adds EXPECT_FAIL macro to test system to allow for testing of conditions correctly triggering failures (#8553) 2025-12-28 11:21:02 +01:00
John Cooper McDonald
46e8178b89
Fix the sprite visualizer not showing asymmetrical follower sprites (#8643) 2025-12-28 10:25:41 +01:00
John Cooper McDonald
ba679ddc26
Fix the game not building with OW_POKEMON_OBJECT_EVENTS disabled (#8654) 2025-12-28 10:02:21 +01:00
grintoul
02afaf2a66
Prevent AI seeing Pollen Puff damage on its ally (#8693) 2025-12-27 23:39:45 +01:00
Alex
0bdc20b102
Clean up for Wish struct, IsSpreadMove and all learnables file (#8680) 2025-12-27 20:33:47 +00:00
Marcus Huderle
8d1f3ccd6a Update .wav samples to use 'agbl' chunk to accomodate for vanilla's off-by-one behavior 2025-12-27 10:33:04 -06:00
FosterProgramming
e95b4de84e
Add trainers submenu for debug menu (#8399) 2025-12-27 16:57:13 +01:00
hedara90
8de29867d9
Make Porygon not load-bearing (#8688) 2025-12-27 16:26:41 +01:00
Martin Griffin
76463dac15
Merge pull request #2219 from Jaizu/some_typos
Fix some typos
2025-12-27 14:19:58 +00:00
Jaizu
daf63255a6 Fix some typos 2025-12-27 15:06:33 +01:00
Martin Griffin
057aa2610c
Merge pull request #2218 from ShinyDragonHunter/xcmd_0C
Document m4a xcmd_0C
2025-12-27 13:48:55 +00:00
hedara90
f43e8f9da4
Stop early if species is disabled in HGSS dex (#8687)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-27 12:48:42 +01:00
hedara90
27ff29fbc5
Fix Debug Menu accessing disabled species (#8683)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-27 11:14:49 +01:00
hedara90
0a1d8bf754
Fix stat access for stats other than Attack in BS_GetStatValue (#8684) 2025-12-27 09:54:09 +01:00
hedara90
22fb105f70
Fix Mimic trying to access MOVE_UNAVAILABLE in an incredibly small amount of possible scenarios (#8685) 2025-12-27 09:53:44 +01:00
Gudf
467a98014a
3-color text fixes (#8672) 2025-12-27 09:18:20 +01:00
Josh
349da0484b Document m4a xcmd_0C 2025-12-27 01:11:40 +00:00
Eduardo Quezada
6e12b35287
Fix Status1 icon not being registered for recorded partner in tests (#8520) 2025-12-26 23:36:42 +00:00
DizzyEggg
ccd6e31767
Fix progbits flags for iwram asm functions (#8627) 2025-12-26 16:14:17 +01:00
FosterProgramming
30e5fc6958
Refactoring the way teachable learnsets are generated (#8027) 2025-12-26 13:13:29 +01:00
FosterProgramming
c6f9700414
Add tests for Intrepid Sword and Dauntless Shield at max stages (#8610)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-26 11:44:16 +00:00
Alex
58ee92c1c8
Fix transform shininess in link battles (#8554)
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
2025-12-26 11:32:57 +00:00
grintoul
9c1332249a
Fixes Manaphy egg data blocking compiler with Manaphy disabled (#8671) 2025-12-26 12:28:21 +01:00
Martin Griffin
b0d2642e56
Merge pull request #2215 from shachar700/pokenav-glow
Fixed pokenav glow issue
2025-12-26 08:58:16 +00:00
Pawkkie
4f55dade50
Fix Commander Dondozo Switching (#8624) 2025-12-25 22:27:56 +00:00
Pawkkie
24ab5c45c9
Adjust AI two-turn move scoring (#8651)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2025-12-25 02:05:20 +01:00
Pawkkie
0551fcf408
Add Dynamic Switch AI Function (#8629) 2025-12-25 02:02:01 +01:00
amiosi
9d62b2327f
Add Gba-style Substitute (#8655) 2025-12-24 20:56:25 +01:00
Estellar
6feafc614c
Centralize message box and standard frame drawing (#8190)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-24 16:54:27 +01:00
artsquirrelb
1e0e1ffca6
Expansion OW sprites fix (#8633)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2025-12-24 15:56:17 +01:00
bassforte123
7bd25fae84
Gorilla Tactics and Test typos fix (#8653) 2025-12-24 13:15:44 +01:00
FosterProgramming
a44da2cc99
Improve make_scr_cmd_constants.py (#8347)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-24 07:26:51 +01:00
Alex
ac221a3aa8
Fix incorrectly applied change in atkcanceler (#8641)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-24 01:16:26 +01:00
spindrift64
582a643d1f
fix poisons absorbing toxic spikes when fainting from other hazards (#8644) 2025-12-23 21:47:42 +01:00
psf
d65254c08e
Update maintainer list (#8638) 2025-12-23 10:56:50 -08:00
FosterProgramming
4d5ac99d71
Fix truck fade being cancelled (#8617) 2025-12-23 10:44:26 -08:00
grintoul
c27f770db9
Tie Break failsafe correction (#8596)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-12-23 14:08:18 +01:00
artsquirrelb
58d0143115
Redraw Gurdurr's overworld sprite (#8625)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-23 09:22:57 +01:00
Pawkkie
7ff31d5e2f
Iterator cleanup in battle_ai files (#8582)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-22 20:24:54 +01:00
Alex
4d69a7274f
Stockpile / WishFutureKnock / Order up clean up (#8528) 2025-12-22 19:57:54 +01:00
Pawkkie
42d968ebfb
Consolidate GetIndexMove (#8622) 2025-12-22 19:47:02 +01:00
GGbond
c20d6ca606
Ensure Palafin prioritizes safe Flip Turn for Zero To Hero in battle (#8591) 2025-12-22 12:59:49 -05:00
Alex
644b04a9f4
Move Explosion to attackcanceler and Terrain Boost effect (#8612) 2025-12-22 18:52:28 +01:00
Alex
6681b03c9b
Refactor Endeavor to use DoFixedDamageMoveCalc func (#8618)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-22 18:33:38 +01:00
grintoul
d55d2b6dfc
Corrects test system Forced Ability handing for multi battles (#8611)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-22 10:11:21 +01:00
PhallenTree
8cb6791cdc
Fixes Water Sport/Mud Sport when B_SPORT_TURNS < GEN_6 (#8613)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-21 17:29:25 +01:00
grintoul
ae01e51f85
Fix type check in Magnet Rise AI (#8609) 2025-12-21 12:26:21 +01:00
PhallenTree
22b78e924d
Counter/Mirror Coat/Metal Burst refactor (#8604)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-21 12:25:28 +01:00
Eduardo Quezada
828e12bee6
B_SPORT_DMG_REDUCTION config tests (#8593)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-20 15:47:46 +01:00
Eduardo Quezada
36e71c8236
B_BINDING_TURNS config tests (#8595) 2025-12-20 15:24:39 +01:00
Martin Griffin
3cde6e2c39
errorf (#8580)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-20 09:49:56 +01:00
Eduardo Quezada
44b658935f
B_TAILWIND_TURNS config tests (#8592)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-19 18:21:10 -05:00
Martin Griffin
96e9269d05
fix(code): stop GetSpeciesPreEvolution from checking disabled species (#8598)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-19 20:29:02 +00:00
khbsd
69be8e09a6 fix(code): stop GetSpeciesPreEvolution from checking disabled species 2025-12-19 13:56:33 -06:00
ghostyboyy97
a901d227cc
fix (scoring): AI_IsMoveEffectInPlus - AI should not see secondary effect of Sheer Force boosted moves as beneficial (#8579)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-19 12:40:46 -05:00
Eduardo Quezada
9451af1c64
B_UPDATED_CONVERSION_2 config tests (#8573)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-19 16:17:24 +01:00
Alex
e8ece47f21
Master to upcoming, 2025-12-19 (#8590)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-19 16:15:58 +01:00
Hedara
e4ae9317c9 Merge branch 'master' into master-to-upcoming
Manual fixes to Lunar Dance handling

 Conflicts:
	include/battle_util.h
	src/battle_ai_main.c
	src/battle_ai_switch.c
	src/battle_ai_util.c
	src/battle_end_turn.c
	src/battle_script_commands.c
	src/battle_util.c
	test/battle/ai/ai_doubles.c
	test/battle/move_effect/snatch.c
	test/battle/spread_moves.c
2025-12-19 15:31:37 +01:00
surskitty
01edcae486
Cap AI scores for Quiver Dance, Victory Dance, and Shell Smash. (#8585)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-19 00:35:48 -05:00
Martin Griffin
dcc8e56566
Require braces on bodies with multiline conditions (#8566) 2025-12-18 23:59:29 -05:00
surskitty
cc6ac23185
Fixing crash from Last Resort with Normalium Z in certain damage thresholds (#8583)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-18 23:57:03 -05:00
Eduardo Quezada
66b6664938
B_REDIRECT_ABILITY_IMMUNITY config tests (#8571) 2025-12-18 23:26:50 -05:00
surskitty
ef9a5b4075
AI uses Z-moves to ensure a low-accuracy KO. (#8584) 2025-12-18 22:15:06 -05:00
Eduardo Quezada
914a481308
B_BURN_DAMAGE config tests (#8574) 2025-12-18 18:53:35 -05:00
Eduardo Quezada
dc5ed3a85b
B_SYNCHRONIZE_TOXIC config test (#8572) 2025-12-18 18:52:15 -05:00
Eduardo Quezada
be9879f94a
B_IRON_BALL config test (#8569) 2025-12-18 18:48:54 -05:00
Eduardo Quezada
6e529cf221
B_KLUTZ_FLING_INTERACTION config test (#8568) 2025-12-18 18:45:54 -05:00
Eduardo Quezada
b78fccdb66
B_STURDY config test (#8565)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-18 17:24:52 -05:00
hedara90
fe6f72ec52
Fix party pool oob (#8581) 2025-12-18 22:56:42 +01:00
Salem
cd856cfc40
fix CONTRIBUTING.md (#8577) 2025-12-18 21:15:28 +01:00
FosterProgramming
a60df1f71b
Remove another unused deoxys function (#8576) 2025-12-18 19:02:35 +01:00
hedara90
ada6b5e754
Assertf improvements and fixes (#8570)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-18 13:29:46 +01:00
Alex
71a1967b7b
Move target type refactor (#8513) 2025-12-18 13:12:41 +01:00
amiosi
5cb1f2ff1a
Add different Poke Balls to more Trainers (#8467)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-18 12:37:32 +01:00
Eduardo Quezada
e02fa053f6
Automatically fix TM numbers over 100 in Bag menu (#8531) 2025-12-18 10:27:01 +01:00
Eduardo Quezada
f621755397
Battle Factory move style automation (#8368)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-17 23:28:50 +01:00
Martin Griffin
09b36afc22
assertf: Formatted asserts (#8196) 2025-12-17 21:15:42 +00:00
hedara90
7f6869bcb5
Add debug print to show what move failed in Sheer Force tests (#8523)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-17 20:13:42 +01:00
Martin Griffin
35255475cb Use assertf to detect errors 2025-12-17 18:52:02 +00:00
Pawkkie
38519b66e3
Switchin calcs leverage saving / restoring AiLogicData (#8556) 2025-12-17 19:15:38 +01:00
GGbond
16ed9fbf3d
Fix: AI should not use Helping Hand on a partner with ABILITY_GOOD_AS_GOLD (#8560) 2025-12-17 12:38:28 -05:00
Eduardo Quezada
7ea180513e
Fix Safari and Wally backsprites when reshowing battle screen (#8561) 2025-12-17 18:37:23 +01:00
Martin Griffin
cc8c8bd668 assertf: Formatted asserts
assertf's behavior depends on the build:
- In release builds it executes recovery code.
- In debug builds it shows a crash screen. When start is pressed it
  resumes and executes the recovery code.
- In test builds it fails the test with an INVALID result.
2025-12-17 17:14:34 +00:00
Martin Griffin
0a5da344e3 Fix AI_CalcMoveEffectScore 2025-12-17 17:13:41 +00:00
Martin Griffin
c428d7fad6 Guard startingStatus reference to opponentB 2025-12-17 17:13:41 +00:00
hedara90
773ca1fde8
Add support for species unique eggs (#8557) 2025-12-17 16:10:02 +01:00
PhallenTree
b0285152b4
Allow Floette Eternal to mega evolve (#8558)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-17 11:53:19 +01:00
Eduardo Quezada
7b741c77f0
Added Light Ball tests (#8526) 2025-12-17 10:44:44 +01:00
Eduardo Quezada
425e532afb
Document magic number in createspriteontargets (#8551) 2025-12-17 10:43:57 +01:00
FosterProgramming
bf0e1b1a86
Add missing behavior when using focus punch while surviving an OHKO move (#8484)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-12-17 00:56:59 +01:00
Eduardo Quezada
6855a5a732
Fix species gfx change in link battles (#8552)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-16 23:39:21 +01:00
Pawkkie
b82bb5bfa1
Refactor switchin candidates to use battler (#8546)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-16 21:27:16 +01:00
hedara90
ec1a283b1b
Add SUB_HIT check to tests (#8413)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-16 19:19:34 +01:00
Eduardo Quezada
3feeebce9b
Fix GEN_6_ORAS definition (#8537) 2025-12-16 16:12:38 +01:00
Alex
4ae2f03e02
Move disable struct members to battle mon volatiles (#8540) 2025-12-16 15:53:35 +01:00
Eduardo Quezada
60e255ef5f
Finished Wish tests (#8530) 2025-12-16 15:40:21 +01:00
Eduardo Quezada
1c819450fe
Added Ability TODO tests - Volume D (#8538)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-16 13:55:57 +01:00
Pawkkie
3ad72f1263
ShouldSwitch 1v1 calcs handle Endure effects (#8544)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2025-12-15 21:57:50 +01:00
DaniRainbow
c5b8c9d471
Re-colored Gliscor's anim_front.png (#8341)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-15 18:51:39 +01:00
moostoet
755bec128b
Fix incorrect "last to move" check for Analytic, Snatch, and Magic Coat (#8536) 2025-12-15 15:56:17 +01:00
PhallenTree
bc0bbc5490
Fixes Instruct's message (#8543)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-15 14:27:14 +01:00
Pawkkie
612ff122bf
Fix switch AI caring about super effective Snore (#8500)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-15 10:27:33 +01:00
Martin Griffin
f5bbaa3475
Align gSpecialVars (#8541) 2025-12-15 06:58:09 +00:00
Steve
1e9cddd848 Align gSpecialVars 2025-12-14 23:03:33 -05:00
PCG
297aeb2d44
Small fix that prevented TM relearner if P_ENABLE_ALL_TM_MOVES was TRUE (#8525)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-14 18:38:17 -08:00
Eduardo Quezada
5b458f54e2
Removed more instances of hardcoded move IDs (#8539)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-14 23:59:53 +01:00
Eduardo Quezada
68aa18d0cb
B_SYMBIOSIS_GEMS tests (#8534) 2025-12-14 16:11:22 -05:00
GGbond
ded6a0fe18
Fix AI handling of Trick/Bestow and add comprehensive tests (#8516) 2025-12-14 12:27:28 -05:00
Eduardo Quezada
5700fb08a2
Expanded B_SANDSTORM_SPDEF_BOOST test (#8532) 2025-12-14 18:14:27 +01:00
Eduardo Quezada
26688dd1ce
Fixed AI_GetSwitchinWeather not considering CONFIG_SNOW_WARNING (#8533) 2025-12-14 11:59:45 -05:00
psf
e65f30bf60
Add OW_BERRY_COLORS and update gBerries to match (#8353) 2025-12-14 16:56:30 +01:00
Eduardo Quezada
a3a16acd72
Expanded B_EXP_CATCH test (#8527) 2025-12-14 16:38:22 +01:00
Alex
6b83f3b7b0
Add starting-status hazard support (#8302) 2025-12-14 16:30:59 +01:00
Eduardo Quezada
a0a5947590
Added tests for stat-changing moves (#8278)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-12-14 16:24:39 +01:00
moostoet
ca123c7549
Update src/battle_util.c
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-14 16:00:00 +01:00
Moos Toet
00ca4828c3 fix: reviewer comments 2025-12-14 15:33:28 +01:00
PCG
6db75af625
Fix Summary screen lag with move relearner when there's a lot of TMs (#8503) 2025-12-14 14:32:52 +01:00
Moos Toet
35532a112c fix alignment 2025-12-14 14:26:33 +01:00
Eduardo Quezada
b8ccf6b57e
Battle controller Ball throw cleanup (#8519) 2025-12-14 12:50:23 +01:00
Eduardo Quezada
08a5a319bd
Fix Lunar Dance not checking PP (#8364) 2025-12-14 12:47:01 +01:00
Alex
1209666e5a
Fix battler side status check in CalcCritChanceStage (#8524) 2025-12-14 12:42:55 +01:00
Raymond Dodge
2cec0dbfa0
Do not add padding to end of smol file when smol is natually word-sized (#8522) 2025-12-14 10:26:42 +01:00
Eduardo Quezada
15b2544e9f
Fixed Wally Tutorial and added option to check from Debug Menu (#8502) 2025-12-14 00:34:12 -05:00
Alex
5509268d6b
Fix potential bug with CanBattlerGetOrLoseItem (#8518) 2025-12-13 13:14:48 -05:00
Gudf
9a01b625f1
Fix save text colors arg order (#8514)
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-12-13 18:22:22 +01:00
Moos Toet
29516be23a simplify name 2025-12-13 18:17:21 +01:00
Moos Toet
dad74300ea fix: fainted mon on first turn with hazards no longer bugs out 2025-12-13 18:15:03 +01:00
Estellar
087f2fba74
Fix Flabébé and Floette overworld sprites (#8511) 2025-12-13 17:06:04 +01:00
Moos Toet
efbbd4130f reviewer feedback + additional tests 2025-12-13 16:53:09 +01:00
Alex
367140a611
Master to upcoming, 2025-12-13 (#8517) 2025-12-13 12:09:51 +01:00
Jamie Foster
089189fbef Merge remote-tracking branch 'origin/master' into merge_from_master 2025-12-13 11:25:48 +01:00
FosterProgramming
0b1b0c7bc9
Remove vestigial handledeoxys code (#8509) 2025-12-13 00:23:14 +01:00
Pawkkie
67fff22a2f
Improve AI Absorb Handling (#8465)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-13 00:21:50 +01:00
Pawkkie
f5c4f403ca
AI ShouldPivot Overhaul (#8486) 2025-12-12 23:04:32 +01:00
Pawkkie
f26f019947
Add AI switchin quality consideration configs (#8508) 2025-12-12 23:03:33 +01:00
Pawkkie
3b5d5d881b
Fix incorrect Spikes reference in switch AI (#8510) 2025-12-12 23:02:41 +01:00
Moos Toet
fc2242cd68 Merge remote-tracking branch 'upstream/upcoming' into feat/8245-traps-starting-statuses 2025-12-11 23:04:07 +01:00
Moos Toet
c5b00cc02a feat: implement logic with new code 2025-12-11 22:52:02 +01:00
jtebbe
4ab2ac3b8d
Add .isRestricted and .isSubLegendary (#8501) 2025-12-11 19:11:30 +01:00
Martin Griffin
7e2215e05a
waitmovementall (#8333) 2025-12-11 14:52:58 +01:00
Eduardo Quezada
c0d979e8a7
Simplify some code by using GetBattlerParty (#8488) 2025-12-11 14:05:56 +01:00
Pawkkie
0156589ad3
Switch AI sees terrain when calcing damage (#8498) 2025-12-10 15:49:12 -05:00
ghostyboyy97
d1a3eb5d71
fix (scoring): configure GetNoOfHitsToKOBattler to allow optional endure consideration (#8496) 2025-12-10 15:21:52 -05:00
PhallenTree
c7db424265
Fixes Disguise + Counter/Mirror Coat/Metal Burst + Disguise tests (#8495) 2025-12-10 18:28:02 +01:00
ghostyboyy97
e8884531fe
feat (AI): AI hits to KO considers Endure effects, and self-damage setup move handling (#8482)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-10 11:54:18 -05:00
Alex
889d11fa02
Add fieldStatuses argument to Ai_CalcDamage for switch in calc (#8490) 2025-12-10 11:50:26 -05:00
Martin Griffin
d85f368315
Master to upcoming, 2025-12-10 (#8494) 2025-12-10 12:02:33 +00:00
shachar700
5240ee1515
Added comment 2025-12-10 13:51:47 +02:00
Hedara
db39df76ab Merge branch 'master' into master-to-upcoming 2025-12-10 12:40:28 +01:00
hedara90
8ae810fdc8
Fix move anim tests sometimes leaking tasks (#8493)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-10 12:38:56 +01:00
hedara90
b1fc5c54f4
Fix setup for some moves in animation tests (#8492)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-10 12:38:42 +01: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
bcd5735f76
Merge pull request #2176 from NTx86/gba-fix-object-event-range-type
Change rangeX and rangeY to u8 in ObjectEvent struct
2025-12-09 21:57:06 -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
GriffinR
83b05d5efa
Merge pull request #2201 from mrgriffin/pret-flag-registered-wally
Fix FLAG_REGISTERED_WALLY
2025-12-09 21:43:30 -05:00
Pawkkie
28f35b694b
AI last chance / priority handling tweaks (#8384)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
2025-12-09 19:37:09 +01:00
Pawkkie
dafe12f085
Rename Ai_WhichMoveBetter to CompareMoveEffects (#8468) 2025-12-09 19:21:49 +01:00
FosterProgramming
5f7c9793e0
Fix balls used for battle factory mons (#8480) 2025-12-09 19:21:01 +01:00
amiosi
bd832bbf50
Environment Fixes (#8471)
Some checks failed
CI / build (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Docs / deploy (push) Has been cancelled
2025-12-09 19:19:45 +01:00
FosterProgramming
cbef5276e8
Fix slateport battle tent battle type (#8475)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-09 17:00:01 +01:00
GGbond
04b26b752e
Respect beneficial status in healing moves and add tests (#8478)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-09 10:58:11 -05:00
Eduardo Quezada
04da8aa285
Allow Starting Statuses beyond 15 (#8485) 2025-12-09 16:24:23 +01:00
FosterProgramming
aa172aad6c
Free the allocated buffer before the second decompression call (hopefully helps) (#8301)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-08 22:56:51 +01:00
hedara90
be8224a0ff
08/12/25 master to upcoming merge (#8483)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-08 19:44:33 +01:00
AlexOn1ine
828807ae76 wrong solved conflict for costar 2025-12-08 19:07:42 +01:00
AlexOn1ine
23cefec579 08/12/25 master to upcoming merge 2025-12-08 18:15:19 +01:00
grintoul
3f6799cffb
Fixes uninitialised variable in IncreaseSleepScore and corrects Focus Punch check (#8481) 2025-12-08 11:36:49 -05:00
Moos Toet
91c7bd875c fix: (WIP) hacky solution using enum, pausing for now 2025-12-08 15:30:53 +01:00
Moos Toet
578d9a33b6 feat: add traps to starting statuses list 2025-12-08 14:15:29 +01:00
FosterProgramming
37a0ef9941
Give dead mons priority over eggs when assigning battlers (#8473)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-08 13:13:07 +01:00
FosterProgramming
f71404bce1
Fix gimmick icon not appearing correctly in 1v2 (#8474) 2025-12-08 13:12:02 +01:00
Gudf
cb66c35709
Enable 3-color text (#8191)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-08 12:27:13 +01:00
FosterProgramming
aafa937b86
Fix bug when changing forms multiple times (#8458) 2025-12-08 12:18:56 +01:00
Pawkkie
5cc4f59496
Trapping switch AI can see Shed Shell (#8388)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-07 23:03:32 +01:00
grintoul
b58787f966
Adds TIE_BREAK_SCORE and TIE_BREAK_TARGET to test system to allow for forced or random move and target selection (#8398) 2025-12-07 16:58:10 -05:00
Eduardo Quezada
af18615a46
Include FEATURES.md in documentation (#8464)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-07 16:02:54 -05:00
grintoul
822b898804
Enables AI to score all moves that KO as best damage, and store multiple moves as best damaging move for additional checks (#8425) 2025-12-07 15:59:24 -05:00
Pawkkie
fee619075e
Split battle_ai_switch_items.c in two (#8414) 2025-12-07 19:34:07 +01:00
allcontributors[bot]
b5a041407e
add amiosi as a contributor for data (#8463)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-07 19:09:55 +01:00
Alex
a42f921939
Streamline unable to use move flags (#8415) 2025-12-07 18:41:48 +01:00
allcontributors[bot]
526304481a
add purrfectdoodle as a contributor for design (#8456)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-07 18:39:02 +01:00
FosterProgramming
86ba8c3191
Fix potential issue when destiny knot fail after proccing from cute charm (#8459) 2025-12-07 18:35:39 +01:00
Martin Griffin
22dcef88c2
Fix random function in testing trying to run trials when rng tag is 0/RNG_NONE (#8460) 2025-12-07 16:38:37 +00:00
Jamie Foster
25f1f0a2be Fix random function in testing trying to run trials when rng tag is 0/RNG_NONE 2025-12-07 16:45:18 +01:00
amiosi
7b036b3b56
GBA Asset Fixes (#8382)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-07 13:50:06 +01:00
amiosi
328ec9d708
Generational Move Changes (#8405)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-06 23:50:58 +01:00
Eva
d089e4ac3e
OW mon fixes (#8444)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-06 21:30:53 +01:00
Alex
445cc2ace9
Adds missing cases for Revenge and Assurance doubling power (#8453)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-12-06 19:04:48 +01:00
PhallenTree
02798e9990
Fix Air Balloon message happening when another battler switches in (#8455) 2025-12-06 17:47:53 +01:00
Alex
520c31dc33
Add missing breakable flags (#8454) 2025-12-06 17:33:31 +01:00
grintoul
3fb8215016
Fixes dmg rounding error for AI (#8436)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-05 19:03:13 -05:00
Martin Griffin
3143f2763e
Adjusted battle string IDs to match the order in gBattleStringsTable (#8446)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-05 17:34:27 +00:00
Eduardo Quezada
79cc3f475c Adjusted battle string IDs to match the order in gBattleStringsTable 2025-12-05 14:01:03 -03:00
FosterProgramming
8e641bdb7a
Fix bug with enterCode default value (#8438)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-05 11:25:51 -05:00
Eduardo Quezada
5ac3e603dc
Finished Defog tests (#8424) 2025-12-05 16:45:48 +01:00
Eduardo Quezada
f5cead9526
Fixed KNOWN_FAILING Dire Claw test (#8442)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-05 13:48:24 +01:00
Eduardo Quezada
cd49a47aa1
Added missing Move Effect TODO tests - Volume G (#8428) 2025-12-05 13:47:12 +01:00
Raymond Dodge
fc25d943a7
Add a ci step that checks that documentation md files are mentioned in docs/SUMMARY.md (#8439) 2025-12-05 10:20:23 +01:00
Raymond Dodge
b5f27b5668
Update mdbook to v0.5.1 (#8437) 2025-12-05 10:02:42 +01:00
grintoul
2e6f941fdf
Decouples BattlerHasAi from battle positions to instead be determined by battler Battle Controller (#8247)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-05 00:26:28 +01:00
Paccy
47e1ca999a
Add Chooseboxmon special (#5428)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-04 22:46:55 +01:00
shachar700
eb1a6d311a fixed pokenav glow issue 2025-12-04 23:34:36 +02:00
Alex
0fd0e50d8a
Renames for struct BattleContext and DamageContext (#8426) 2025-12-04 13:52:15 -05:00
FosterProgramming
58fed6554f
Add test for lum berry multi status (#8430)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-04 18:58:20 +01:00
Pawkkie
6615310279
Improve self-sacrifice AI (#8427) 2025-12-04 18:57:47 +01:00
ghostyboyy97
fafd66e207
fix (hazards): ghosty used rapid spin! ghosty blew the semicolon away! (#8433)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-04 12:41:39 -05:00
PhallenTree
99372b9c1e
Fixes Wind Power/Electromorphosis potentially boosting 2 electric attacks (#8431) 2025-12-04 16:31:52 +01:00
Eduardo Quezada
67e95e28e9
WITH_CONFIG Refactor (#7584) 2025-12-04 15:49:52 +01:00
hedara90
22492a6494
Make TRUE and 1 behave the same in config/species_enabled.h (#8421)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-04 15:27:50 +01:00
FosterProgramming
f3d43e286d
Fix substitute/defog interactions (#8418) 2025-12-04 15:24:53 +01:00
Martin Griffin
4d3144cc66
Merge pull request #2214 from GriffinRichards/hidden-item-error
Display error for invalid hidden item flags
2025-12-04 06:28:53 +00:00
GriffinR
d8a6b72e23 Display error for invalid hidden item flags 2025-12-03 21:44:25 -05:00
GriffinR
4297a5ea81 Clean up wav2agb's Makefile 2025-12-03 21:19:47 -05:00
FosterProgramming
142a5ef08c
Fix illusion not breaking properly when behind substitute (#8423)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-04 00:35:38 +01:00
Eduardo Quezada
f49a788bc6
Support Gen 2's Sandstorm not reducing Solar Beam's power (#8422)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-03 21:27:39 +01:00
Martin Griffin
efced1d62c
Support NULLs in SpriteTemplate (#8292) 2025-12-03 19:57:08 +01:00
Alex
a73dc0d635
Refactor Multi Hit moves to use a flag instead of effect (#8379)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-12-03 12:12:45 -05:00
Alex
d6d8d8712f
Convert starting statuses to a bitmask (#8233)
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-12-03 17:23:25 +01:00
Eduardo Quezada
d47deb51a4
Create missing hold effect test files (#8397)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-03 15:31:43 +01:00
Eduardo Quezada
a421142c78
Removed Hold Effects that do nothing (#8420)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-03 14:12:12 +01:00
allcontributors[bot]
1c57d7c204
add shachar700 as a contributor for code (#8419)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-03 10:53:16 +01:00
FosterProgramming
6c8400b6af
Fix transform tint applying to every from change on reload (#8417)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-02 23:43:58 +01:00
ghostyboyy97
7e0b1de2ae
fix (setup): ignore self-speed drop when checking speed control on KO threshold change (#8409)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-02 16:27:46 -05:00
moostoet
d0965814fe
Fix Costar not copying partner's critical hit boosts (#8386)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-02 21:25:52 +01:00
moostoet
dc7aad6be1
Fix Snatch stealing snatched moves (#8350)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-12-02 20:56:30 +01:00
Eduardo Quezada
115694675f
Renamed Config Test system to more general names (#7283) 2025-12-02 11:26:44 -05:00
Alex
49a18df48a
Refactor Fury Cutter and Rollout (#8375) 2025-12-02 16:45:34 +01:00
Alex
a285482310
Make Glaive Rush a MOVE_EFFECT_GLAIVE_RUSH (#8351) 2025-12-02 16:44:31 +01:00
FosterProgramming
126fdd554f
Fix merge error that broke some hgss palette (#8411) 2025-12-02 15:59:10 +01:00
Pawkkie
7dec2dd501
AI will not stat boost if Yawn'd (#8377)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-02 15:58:08 +01:00
Pawkkie
00b3179f75
Add AI_FLAG_RANDOMIZE_SWITCHINS (#6222) 2025-12-02 15:38:05 +01:00
hedara90
dea8974ddc
Master merge, 2025-12-01 (#8408)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-01 20:33:29 +01:00
surskitty
2d054c7c24
Improved behavior for AI X Items and Dire Hit; vanilla behavior moved to Force Setup First Turn (#7851) 2025-12-01 14:27:22 -05:00
Hedara
fd39cca2b4 Merge branch 'master' into master-merge
Conflicts:
	include/constants/expansion.h
2025-12-01 20:12:22 +01:00
PhallenTree
1a6d03344a
Multiple bugfixes (mostly Dancer/called moves) (#8401)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-01 20:12:11 +01:00
Pawkkie
8d42cb92c2
Add Smarter AI Resist Berry Handling (#8376)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-01 19:51:43 +01:00
hedara90
81192c9146
Fix docs not compiling (#8407)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-01 19:47:56 +01:00
Salem
29f83ea5e0
Trainerbattle Type Differentiation (#6424)
Co-authored-by: CallmeEchoo <callmeechoo@github.com>
Co-authored-by: Your Name <you@example.com>
2025-12-01 19:28:09 +01:00
Alex
96d020972d
Expansion 1.14.1 (#8406) 2025-12-01 18:58:39 +01:00
Hedara
fcfa2a3d17 Start of 1.14.2 cycle 2025-12-01 17:41:14 +01:00
moostoet
25623fbade
Smarter AI handling for incoming heals / Revival Blessing (#8325) 2025-12-01 11:26:39 -05:00
FosterProgramming
d13965fe1f
New debug menu actions: Give Egg and Set KO (#8330) 2025-12-01 14:49:35 +01:00
FosterProgramming
2a16b94a13
Allow x items to be cross-used in double battles (#8280) 2025-12-01 14:46:03 +01:00
Alex
55fbbfa586
Move crit calculation into the damage calc (#8365)
Some checks failed
CI / build (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com>
2025-11-30 13:58:51 -05:00
PhallenTree
1fa97941c8
Updated Focus Punch failure check and moved to attackcanceler (#8360) 2025-11-30 18:37:57 +01:00
Pawkkie
df31e501bb
Add AI_FLAG_KNOW_OPPONENT_PARTY to ai_flags.md (#8366) 2025-11-30 18:37:10 +01:00
hedara90
58317e35b9
Cawt FRLG part 1 (#8396)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-11-30 09:28:36 -08:00
hedara90
4d43030df2
Revert "Add FRLG (Part 1)" (#8395) 2025-11-30 09:17:24 -08:00
hedara90
6f207521fa
Add FRLG (Part 1) (#7572) 2025-11-30 17:29:01 +01:00
Alex
f222bcaff5
Switch-in Events Refactor (#8128) 2025-11-30 08:25:20 -08:00
Alex
f6c94867f6
Start 1.15 cycle (#8394) 2025-11-30 17:02:19 +01:00
Hedara
8382382dc9 Start of 1.15.0 cycle 2025-11-30 16:40:52 +01:00
cawtds
95353565c2 convert SCR_OP to enum, make pattern more lenient 2025-11-25 16:11:47 +01:00
Martin Griffin
c466dce996 Fix FLAG_REGISTERED_WALLY 2025-11-06 13:40:22 +00:00
hedara90
e7be14423a
Update data/text/pokedex_rating.inc 2025-10-13 17:38:24 +02:00
cawtds
9d6fd719e8 rename bottom_frlg -> base_frlg 2025-09-28 02:31:36 +02:00
cawtds
55f09ad78d remove duplicate suffix 2025-09-28 01:18:39 +02:00
cawtds
8b9eacb945 add frlg suffix to all files/directories and remove unused data 2025-09-27 16:33:35 +02: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
NT_x86
d6714add6f
Change rangeX and rangeY to u8 in ObjectEvent struct 2025-08-31 20:36:09 +03:00
cawtds
a266c307f5 add map data 2025-08-17 13:56:49 +02: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
GriffinR
c340534062
Merge branch 'master' into fix-trainer-decompress 2025-06-30 13:33:42 -04:00
cawtds
d8c1b55b22 ub fix for OOB access with gActiveBattler 2025-04-26 00:21:03 +02:00
GriffinR
98133a9f7b Add fix for possible crash when decompressing trainer back pics 2024-12-06 15:07:52 -05:00
5921 changed files with 418757 additions and 96876 deletions

View File

@ -57,7 +57,8 @@
"profile": "https://github.com/ghoulslash",
"contributions": [
"maintenance",
"code"
"code",
"design"
]
},
{
@ -375,7 +376,8 @@
"profile": "https://github.com/Pyredrid",
"contributions": [
"userTesting",
"maintenance"
"maintenance",
"code"
]
},
{
@ -478,6 +480,222 @@
"doc",
"data"
]
},
{
"login": "shachar700",
"name": "shachar700",
"avatar_url": "https://avatars.githubusercontent.com/u/48739719?v=4",
"profile": "https://github.com/shachar700",
"contributions": [
"code"
]
},
{
"login": "purrfectdoodle",
"name": "Eva",
"avatar_url": "https://avatars.githubusercontent.com/u/105788407?v=4",
"profile": "http://purrfectdoodle.com",
"contributions": [
"design"
]
},
{
"login": "amiosi",
"name": "amiosi",
"avatar_url": "https://avatars.githubusercontent.com/u/44352097?v=4",
"profile": "https://github.com/amiosi",
"contributions": [
"data"
]
},
{
"login": "mrdollsteak",
"name": "mrdollsteak",
"avatar_url": "https://avatars.githubusercontent.com/u/5975698?v=4",
"profile": "https://github.com/mrdollsteak",
"contributions": [
"data"
]
},
{
"login": "TheXaman",
"name": "TheXaman",
"avatar_url": "https://avatars.githubusercontent.com/u/48356183?v=4",
"profile": "https://github.com/TheXaman",
"contributions": [
"code"
]
},
{
"login": "ZnogyroP",
"name": "ZnogyroP",
"avatar_url": "https://avatars.githubusercontent.com/u/20970593?v=4",
"profile": "https://github.com/ZnogyroP",
"contributions": [
"design"
]
},
{
"login": "luckytyphlosion",
"name": "luckytyphlosion",
"avatar_url": "https://avatars.githubusercontent.com/u/10688458?v=4",
"profile": "https://github.com/luckytyphlosion",
"contributions": [
"code"
]
},
{
"login": "ShinyDragonHunter",
"name": "Josh",
"avatar_url": "https://avatars.githubusercontent.com/u/32826900?v=4",
"profile": "https://github.com/ShinyDragonHunter",
"contributions": [
"code"
]
},
{
"login": "Gamer2020",
"name": "Gamer2020",
"avatar_url": "https://avatars.githubusercontent.com/u/6243575?v=4",
"profile": "https://github.com/Gamer2020",
"contributions": [
"code"
]
},
{
"login": "SonikkuA-DatH",
"name": "SonikkuA-DatH",
"avatar_url": "https://avatars.githubusercontent.com/u/58025603?v=4",
"profile": "https://github.com/SonikkuA-DatH",
"contributions": [
"design"
]
},
{
"login": "Jaizu",
"name": "Jaizu",
"avatar_url": "https://avatars.githubusercontent.com/u/18596778?v=4",
"profile": "https://jaizu.moe",
"contributions": [
"code"
]
},
{
"login": "izrofid",
"name": "Kildemal",
"avatar_url": "https://avatars.githubusercontent.com/u/206095739?v=4",
"profile": "https://github.com/izrofid",
"contributions": [
"code"
]
},
{
"login": "Skeli789",
"name": "Skeli",
"avatar_url": "https://avatars.githubusercontent.com/u/17243618?v=4",
"profile": "https://github.com/Skeli789",
"contributions": [
"design"
]
},
{
"login": "ostomachion",
"name": "Josh Hufford",
"avatar_url": "https://avatars.githubusercontent.com/u/8021794?v=4",
"profile": "http://hufford.io",
"contributions": [
"code"
]
},
{
"login": "Kasenn",
"name": "Kasenn",
"avatar_url": "https://avatars.githubusercontent.com/u/115586266?v=4",
"profile": "https://github.com/Kasenn",
"contributions": [
"code"
]
},
{
"login": "SabataLunar",
"name": "SabataLunar",
"avatar_url": "https://avatars.githubusercontent.com/u/26584469?v=4",
"profile": "https://github.com/SabataLunar",
"contributions": [
"design"
]
},
{
"login": "PacFire",
"name": "PacFire",
"avatar_url": "https://avatars.githubusercontent.com/u/108960850?v=4",
"profile": "https://github.com/PacFire",
"contributions": [
"design"
]
},
{
"login": "ChrispyChris27",
"name": "ChrispyChris27",
"avatar_url": "https://avatars.githubusercontent.com/u/173648816?v=4",
"profile": "https://github.com/ChrispyChris27",
"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"
]
},
{
"login": "luuma",
"name": "luuma",
"avatar_url": "https://avatars.githubusercontent.com/u/31407427?v=4",
"profile": "https://github.com/luuma",
"contributions": [
"code"
]
},
{
"login": "DragonScaledEmma",
"name": "Emma",
"avatar_url": "https://avatars.githubusercontent.com/u/220702264?v=4",
"profile": "https://github.com/DragonScaledEmma",
"contributions": [
"bug"
]
}
{
"login": "gammel2013",
"name": "gammel2013",
"avatar_url": "https://avatars.githubusercontent.com/u/160730477?v=4",
"profile": "https://github.com/Gammel2013",
"contributions": [
"bug"
]
}
{
"login": "blusunrize",
"name": "blusunrize",
"avatar_url": "https://avatars.githubusercontent.com/u/4106382?v=4",
"profile": "https://github.com/BluSunrize",
"contributions": [
"bug"
]
}
],
"contributorsPerLine": 7,

View File

@ -7,7 +7,7 @@ body:
value: |
Please fill in all fields with as many details as possible.
Once your bug is posted, make sure you and your collaborators are added to `CREDITS.md` by [tagging the bot on GitHub](https://github.com/rh-hideout/pokeemerald-expansion/wiki/CREDITS.md-Frequently-Asked-Questions). EVERY contribution matters, even reporting bugs!
- type: textarea
- type: textarea
id: description
attributes:
label: Description
@ -24,13 +24,13 @@ body:
description: |
What exact steps can somebody else follow in order to recreate the issue on their own?
placeholder: |
Provide as much context as possible as to what was done to create the issue.
Provide as much context as possible as to what was done to create the issue.
validations:
required: true
- type: textarea
id: media
id: media
attributes:
label: Images / Video
label: Images / Video
description: |
Do you have images or videos to show the problem happen?
placeholder: |
@ -43,16 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.1 (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

View File

@ -24,13 +24,13 @@ body:
description: |
What exact steps can somebody else follow in order to recreate the issue on their own?
placeholder: |
Provide as much context as possible as to what was done to create the issue.
Provide as much context as possible as to what was done to create the issue.
validations:
required: true
required: true
- type: textarea
id: media
id: media
attributes:
label: Images / Video
label: Images / Video
description: |
Do you have images or videos to show the problem happen?
placeholder: |
@ -43,16 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.1 (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

View File

@ -15,13 +15,13 @@ body:
description: |
What is the current behavior? What behavior would you expect your feature request to provide? What other information can you provide to help your feature get implemented?
placeholder: |
Provide as much context as possible.
Provide as much context as possible.
validations:
required: true
- type: textarea
id: media
attributes:
label: Images / Video
label: Images / Video
description: |
Have other projects or games solved this problem? Do you have images or video to show this happening?
placeholder: |

View File

@ -24,13 +24,13 @@ body:
description: |
What exact steps can somebody else follow in order to recreate the issue on their own?
placeholder: |
Provide as much context as possible as to what was done to create the issue.
Provide as much context as possible as to what was done to create the issue.
validations:
required: false
required: false
- type: textarea
id: media
id: media
attributes:
label: Images / Video
label: Images / Video
description: |
Do you have images or videos to show the problem happen?
placeholder: |
@ -43,16 +43,15 @@ body:
label: Version
description: What version of pokeemerald-expansion are you using?
options:
- 1.14.1 (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

64
.github/docs_validate/inclusive_summary.py vendored Executable file
View File

@ -0,0 +1,64 @@
#!/usr/bin/python3
"""
Checks that all documentation pages that should be mentioned in
`docs/SUMMARY.md` are mentioned the file
"""
import glob
import re
import os
from pathlib import Path
errorLines = []
if not os.path.exists("Makefile"):
errorLines.append("Please run this script from your root folder.")
summaryFile = Path("docs/SUMMARY.md")
if not errorLines:
if not summaryFile.is_file():
errorLines.append("docs/SUMMARY.md missing")
summaryContents = []
if not errorLines:
with open(summaryFile, 'r', encoding='UTF-8') as file:
entry_pattern = re.compile(r" *\- \[[^\]]*\]\(([^\)]*)\)\n")
lineNo = 0
while line:=file.readline():
lineNo = lineNo + 1
if line == "# Summary\n" or line == "\n":
pass
elif match:=entry_pattern.match(line):
if "" != match.group(1):
summaryContents.append(Path(match.group(1)))
else:
if not errorLines:
errorLines.append("## Unexpected lines in docs/SUMMARY.md")
errorLines.append(f"- {lineNo}: {line.strip()}")
if not errorLines:
for pathName in glob.glob("**/*.md", root_dir="docs", recursive=True):
path = Path(pathName)
if path == Path("SUMMARY.md"):
pass
elif path == Path("changelogs/template.md"):
pass
elif path in summaryContents:
pass
else:
if not errorLines:
errorLines.append("## `docs/**/*.md` files present but not mentioned in `docs/SUMMARY.md`")
errorLines.append("- " + str(path))
if errorLines:
for line in errorLines:
print(line)
if 'GITHUB_STEP_SUMMARY' in os.environ:
with open(os.environ['GITHUB_STEP_SUMMARY'], 'w', encoding='UTF-8') as file:
for line in errorLines:
file.write(line)
file.write('\n')
quit(1)

View File

@ -7,42 +7,218 @@ on:
- upcoming
pull_request:
env:
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
COMPARE: 0
UNUSED_ERROR: 1
DEPRECATED_ERROR: 1
jobs:
build:
build-emerald:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
COMPARE: 0
UNUSED_ERROR: 1
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install binutils
run: |
sudo apt update
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
sudo apt-get update
sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
- name: ROM
- name: Cache build tools
uses: actions/cache@v4
with:
path: |
tools/bin2c/bin2c
tools/gbafix/gbafix
tools/gbagfx/gbagfx
tools/jsonproc/jsonproc
tools/mapjson/mapjson
tools/mid2agb/mid2agb
tools/preproc/preproc
tools/ramscrgen/ramscrgen
tools/rsfont/rsfont
tools/scaninc/scaninc
tools/trainerproc/trainerproc
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/wav2agb/wav2agb
key: tools-${{ runner.os }}-${{ hashFiles('tools/*/Makefile', 'tools/**/*.c', 'tools/**/*.cpp', 'tools/**/*.h') }}
- name: ROM (Emerald)
env:
COMPARE: 0
run: make -j${nproc} -O all
- name: LTO
GAME_VERSION: EMERALD
run: make -j$(nproc) -O all
build-firered:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install binutils
run: |
make tidy
make -j${nproc} LTO=1
# make tidy to purge previous build
sudo apt-get update
sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
- name: Cache build tools
uses: actions/cache@v4
with:
path: |
tools/bin2c/bin2c
tools/gbafix/gbafix
tools/gbagfx/gbagfx
tools/jsonproc/jsonproc
tools/mapjson/mapjson
tools/mid2agb/mid2agb
tools/preproc/preproc
tools/ramscrgen/ramscrgen
tools/rsfont/rsfont
tools/scaninc/scaninc
tools/trainerproc/trainerproc
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/wav2agb/wav2agb
key: tools-${{ runner.os }}-${{ hashFiles('tools/*/Makefile', 'tools/**/*.c', 'tools/**/*.cpp', 'tools/**/*.h') }}
- name: ROM (Firered)
run: make firered -j$(nproc) -O
build-leafgreen:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install binutils
run: |
sudo apt-get update
sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
- name: Cache build tools
uses: actions/cache@v4
with:
path: |
tools/bin2c/bin2c
tools/gbafix/gbafix
tools/gbagfx/gbagfx
tools/jsonproc/jsonproc
tools/mapjson/mapjson
tools/mid2agb/mid2agb
tools/preproc/preproc
tools/ramscrgen/ramscrgen
tools/rsfont/rsfont
tools/scaninc/scaninc
tools/trainerproc/trainerproc
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/wav2agb/wav2agb
key: tools-${{ runner.os }}-${{ hashFiles('tools/*/Makefile', 'tools/**/*.c', 'tools/**/*.cpp', 'tools/**/*.h') }}
- name: ROM (Leafgreen)
run: make leafgreen -j$(nproc) -O
release:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install binutils
run: |
sudo apt-get update
sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
- name: Cache build tools
uses: actions/cache@v4
with:
path: |
tools/bin2c/bin2c
tools/gbafix/gbafix
tools/gbagfx/gbagfx
tools/jsonproc/jsonproc
tools/mapjson/mapjson
tools/mid2agb/mid2agb
tools/preproc/preproc
tools/ramscrgen/ramscrgen
tools/rsfont/rsfont
tools/scaninc/scaninc
tools/trainerproc/trainerproc
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/wav2agb/wav2agb
key: tools-${{ runner.os }}-${{ hashFiles('tools/*/Makefile', 'tools/**/*.c', 'tools/**/*.cpp', 'tools/**/*.h') }}
- name: Release
env:
GAME_VERSION: EMERALD
run: make -j$(nproc) release
test:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install binutils
run: |
sudo apt-get update
sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
- name: Cache build tools
uses: actions/cache@v4
with:
path: |
tools/bin2c/bin2c
tools/gbafix/gbafix
tools/gbagfx/gbagfx
tools/jsonproc/jsonproc
tools/mapjson/mapjson
tools/mid2agb/mid2agb
tools/preproc/preproc
tools/ramscrgen/ramscrgen
tools/rsfont/rsfont
tools/scaninc/scaninc
tools/trainerproc/trainerproc
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/wav2agb/wav2agb
tools/patchelf/patchelf
tools/mgba-rom-test-hydra/mgba-rom-test-hydra
key: tools-check-${{ runner.os }}-${{ hashFiles('tools/*/Makefile', 'tools/**/*.c', 'tools/**/*.cpp', 'tools/**/*.h') }}
- name: Test
env:
GAME_VERSION: EMERALD
TEST: 1
run: |
make -j${nproc} check
run: make -j$(nproc) check
# Gate job: satisfies the "build" branch protection rule.
# Passes only when all parallel build/test jobs succeed.
build:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
needs: [build-emerald, build-firered, build-leafgreen, release, test]
steps:
- name: All builds passed
run: echo "All builds and tests passed."
docs_validate:
if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check that SUMMARY.md includes markdown doc files
run: .github/docs_validate/inclusive_summary.py
allcontributors:
if: github.actor == 'allcontributors[bot]'
runs-on: ubuntu-latest
@ -50,4 +226,3 @@ jobs:
steps:
- name: Automatically pass for allcontributors
run: echo "CI automatically passes for allcontributors" && exit 0

View File

@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- name: Install latest mdbook
run: |
tag="v0.5.0-beta.1"
tag="v0.5.1"
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook

8
.gitignore vendored
View File

@ -42,18 +42,26 @@ 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
test/battle/partner_control.h
tools/compresSmol/compresSmol
tools/compresSmol/compresSmolTilemap
tools/aif2pcm/aif2pcm
*.Identifier
*.smol
*.fastSmol
*.smolTM
__pycache__
.map_version

View File

@ -6,7 +6,7 @@ All contributions are encouraged and valued. Please make sure to read the releva
## Bug Reports
We use [GitHub](https://github.com/rh-hideout/pokeemerald-expansion/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Abug) issues to track bugs.
We use [GitHub](https://github.com/rh-hideout/pokeemerald-expansion/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Abug) issues to track bugs.
### What should I do before making a bug report?
@ -15,7 +15,7 @@ We use [GitHub](https://github.com/rh-hideout/pokeemerald-expansion/issues?q=sor
### How do I submit a bug report?
If you run into an issue with the project, open an [issue](https://github.com/rh-hideout/pokeemerald-expansion/issues/new).
If you run into an issue with the project, open an [issue](https://github.com/rh-hideout/pokeemerald-expansion/issues/new).
The best bug reports have enough information that we won't have to contact you for more information. We welcome all efforts to improve pokeemerald-expansion, but would be very grateful if you completed as much of the checklist as possible in your bug report. This will help other contributiors fix your issue.
@ -23,7 +23,7 @@ The best bug reports have enough information that we won't have to contact you f
- A maintainer will [label](https://github.com/rh-hideout/pokeemerald-expansion/labels) the bug report.
- A maintainer will try to reproduce the bug with your provided steps.
- If there are no reproduction steps or no obvious way to reproduce the issue, somebody will ask you for those steps. Until the bug can be reproduced, the bug will retain the `bug:unconfirmed` label. Unconfirmed bugs are less likely get fixed.
- If there are no reproduction steps or no obvious way to reproduce the issue, somebody will ask you for those steps. Until the bug can be reproduced, the bug will retain the `bug:unconfirmed` label. Unconfirmed bugs are less likely to get fixed.
- If the team is able to reproduce the bug, it will be labeled `bug:confirmed`, and the bug will be left to be [fixed by someone](#Pull-Requests).
- If the issue is particularly game-breaking, a maintainer will add it to a future version's [milestone](), meaning that version will not be released until the problem is solved.
@ -31,7 +31,7 @@ The best bug reports have enough information that we won't have to contact you f
This section guides you through submitting a feature request for pokeemerald-expansion, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
- We use [GitHub](https://github.com/rh-hideout/pokeemerald-expansion/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Afeature-request) issues to track feature requests.
- We use [GitHub](https://github.com/rh-hideout/pokeemerald-expansion/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Afeature-request) issues to track feature requests.
### What should I do before making a feature request?
@ -44,7 +44,7 @@ This section guides you through submitting a feature request for pokeemerald-exp
### How do I submit a feature request?
To request a feature to be added to the project, open a [feature request](https://github.com/rh-hideout/pokeemerald-expansion/issues/new).
To request a feature to be added to the project, open a [feature request](https://github.com/rh-hideout/pokeemerald-expansion/issues/new).
### What happens after I submit a feature request?
@ -61,8 +61,11 @@ If you have read all of this and still need help, feel free to start a thread in
- If you're new to git and GitHub, [Team Aqua's Asset Repo](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/) has a [guide on forking and cloning the repository](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/wiki/The-Basics-of-GitHub). Make sure you have a [local copy](INSTALL.md) of `pokeemerald-expansion`.
- Make sure your contribution is in [scope](docs/team_procedures/scope.md) - if it is not clear if something is in scope, you can start a discussion thread in the [#pr-discussions](https://discord.com/channels/419213663107416084/1102784418369785948) channel of the [the RHH Discord Server!](https://discord.gg/6CzjAG6GZk).
- Choose a branch to contribute your PR to:
- **`master`**: Fixes for bugs that are currently present in the `master` branch.
- **`upcoming`**: All other pull requests.
- **`master`**: If your PR contains meets any of the following criteria, it should go to `master`:
- Fixes for bugs that are currently present in the `master` branch
- PR is only documentation updates / changes
- PR is only tests
- **`upcoming`**: All other pull requests go to `upcoming`.
- Create a new branch from the most recent version of the branch you've chosen.
- If your contribution introduces, removes, or changes a lot of existing code, we reccomend getting a maintainer to agree to review it before you start on the work! We have a table that lists all [current maintainers and their areas of expertise](#maintainers).
@ -105,11 +108,11 @@ git push --set-upstream origin newFeature
```
#### 7. Open Pull Request
Once your work is complete and pushed to the branch on Github, you can open a [pull request from your branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork), targeting the branch you've chosen from `pokeemerald-expansion`. Please fill out the pull request description as completely as possible.
Once your work is complete and pushed to the branch on Github, you can open a [pull request from your branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork), targeting the branch you've chosen from `pokeemerald-expansion`. Please fill out the pull request description as completely as possible.
### What happens after I submit a pull request?
A maintainer will then assign themselves as a reviewer of your pull request, and may provide feedback in the form of a PR review.
A maintainer will then assign themselves as a reviewer of your pull request, and may provide feedback in the form of a PR review.
Contributors are responsible for responding to and updating their branch by addressing the feedback in the review. Contributors are also responsible for making sure the branch passes the checklist at all times.
@ -122,21 +125,20 @@ Once all items on the merge checklist are true, the branch will be merged in.
## Maintainers
This list was last updated 2025 April 1.
This list was last updated 2025 Dec 23.
| Name | Discord | Currently Active | Areas of Expertise |
| --- | --- | --- | --- |
| [Alex](https://github.com/AlexOn1ine) | rainonline | ✅ | Battle Engine, Battle AI
| [Egg](https://github.com/DizzyEggg) | egg9255 | ✅ | Battle Engine, Battle AI
| [ghoulslash](https://github.com/ghoulslash) | ghoulslash | ✅ | Dexnav, Overworld, Battle Engine
| [Jasper](https://github.com/Bassoonian) | bassoonian | ✅ | Berries, Day / Night System, Followers, Feature Branches
| [MGriffin](https://github.com/mrgriffin) | mgriffin | ✅ | Tests, Trainer Control
| [psf](https://github.com/pkmnsnfrn) | pkmnsnfrn | ✅ | Rematches, Difficulty, Trainer Slides, Fake RTC, Fishing Minigames, Imperial / Metric, OW Item Balls, Sky Battles
| [Hedara](https://github.com/hedara90) | hedara | ✅ | Compression, Sprites
| [Pawkkie](https://github.com/Pawkkie) | pawkkie | ✅ | Battle AI
| [SBird](https://github.com/SBird1337) | karathan | ✅ | Dynamic Multichoice, Damage Calculation, Animations, Trainer Control, Tests
| [Agustin](https://github.com/AgustinGDLV) | agustingdlv | Inactive | Gimmicks, Battle Engine, Tests, Items
| [tertu](https://github.com/tertu-m) | tertu | Inactive | Randomizer
| [Jamie](https://github.com/FosterProgramming) | foster_harmony | ✅ | Overworld, Tests, Day / Night System, Dexnav, Battle Frontier, HGSS Dex, Pokerus, Learnsets, Mon Generation, Vs Seeker
| [grintoul](https://github.com/grintoul1) | grintoul | ✅ | Tests, Battle AI, Battle Engine, Overworld, Trainer Slides, Follower NPCs, Multi Battles
## Attribution
This guide is based on the [contributing.md](https://contributing.md/generator)!

View File

@ -1,13 +1,3 @@
<!-- ## Old List of Credits -->
<!-- - **mvit**: ability pop up and mega evo gfx -->
<!-- - **Doesnt**: berries gfx, pokeball particles -->
<!-- - **MrDollSteak**: Pokedex descriptions -->
<!-- - **Avara**: item descriptions -->
<!-- - **TheLaw**: move animations -->
<!-- - **BreadCrumbs**: code review -->
<!-- - **Syreldar**: testing, wrote an explanation post -->
<!-- - **Pyredrid**: automating issue creation, code review and testing -->
## Credits ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@ -22,7 +12,7 @@ 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/AlexOn1ine"><img src="https://avatars.githubusercontent.com/u/93446519?v=4?s=100" width="100px;" alt="Alex"/><br /><sub><b>Alex</b></sub></a><br /><a href="#maintenance-AlexOn1ine" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=AlexOn1ine" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Bassoonian"><img src="https://avatars.githubusercontent.com/u/16993385?v=4?s=100" width="100px;" alt="Bassoonian"/><br /><sub><b>Bassoonian</b></sub></a><br /><a href="#maintenance-Bassoonian" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Bassoonian" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DizzyEggg"><img src="https://avatars.githubusercontent.com/u/16259973?v=4?s=100" width="100px;" alt="DizzyEggg"/><br /><sub><b>DizzyEggg</b></sub></a><br /><a href="#maintenance-DizzyEggg" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=DizzyEggg" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ghoulslash"><img src="https://avatars.githubusercontent.com/u/41651341?v=4?s=100" width="100px;" alt="ghoulslash"/><br /><sub><b>ghoulslash</b></sub></a><br /><a href="#maintenance-ghoulslash" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=ghoulslash" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ghoulslash"><img src="https://avatars.githubusercontent.com/u/41651341?v=4?s=100" width="100px;" alt="ghoulslash"/><br /><sub><b>ghoulslash</b></sub></a><br /><a href="#maintenance-ghoulslash" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=ghoulslash" title="Code">💻</a> <a href="#design-ghoulslash" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hedara90"><img src="https://avatars.githubusercontent.com/u/149414898?v=4?s=100" width="100px;" alt="hedara90"/><br /><sub><b>hedara90</b></sub></a><br /><a href="#maintenance-hedara90" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=hedara90" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.martin-griffin.com/"><img src="https://avatars.githubusercontent.com/u/838573?v=4?s=100" width="100px;" alt="Martin Griffin"/><br /><sub><b>Martin Griffin</b></sub></a><br /><a href="#maintenance-mrgriffin" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=mrgriffin" title="Code">💻</a></td>
</tr>
@ -64,7 +54,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://metin2.dev/index.php"><img src="https://avatars.githubusercontent.com/u/42327659?v=4?s=100" width="100px;" alt="Enrico Drago"/><br /><sub><b>Enrico Drago</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Syreldar" title="Documentation">📖</a> <a href="#userTesting-Syreldar" title="User Testing">📓</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Pyredrid"><img src="https://avatars.githubusercontent.com/u/8324784?v=4?s=100" width="100px;" alt="Pyredrid"/><br /><sub><b>Pyredrid</b></sub></a><br /><a href="#userTesting-Pyredrid" title="User Testing">📓</a> <a href="#maintenance-Pyredrid" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Pyredrid"><img src="https://avatars.githubusercontent.com/u/8324784?v=4?s=100" width="100px;" alt="Pyredrid"/><br /><sub><b>Pyredrid</b></sub></a><br /><a href="#userTesting-Pyredrid" title="User Testing">📓</a> <a href="#maintenance-Pyredrid" title="Maintenance">🚧</a> <a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Pyredrid" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mvit"><img src="https://avatars.githubusercontent.com/u/128863?v=4?s=100" width="100px;" alt="mv"/><br /><sub><b>mv</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=mvit" title="Code">💻</a> <a href="#design-mvit" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Mother-Of-Dragons"><img src="https://avatars.githubusercontent.com/u/31101124?v=4?s=100" width="100px;" alt="Avara"/><br /><sub><b>Avara</b></sub></a><br /><a href="#data-Mother-Of-Dragons" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Doesnty"><img src="https://avatars.githubusercontent.com/u/6163136?v=4?s=100" width="100px;" alt="Doesnty"/><br /><sub><b>Doesnty</b></sub></a><br /><a href="#design-Doesnty" title="Design">🎨</a></td>
@ -78,6 +68,36 @@ 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/cawtds"><img src="https://avatars.githubusercontent.com/u/38510667?v=4?s=100" width="100px;" alt="cawtds"/><br /><sub><b>cawtds</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=cawtds" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fdeblasio"><img src="https://avatars.githubusercontent.com/u/35279583?v=4?s=100" width="100px;" alt="Frank DeBlasio"/><br /><sub><b>Frank DeBlasio</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=fdeblasio" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://vriska.dev"><img src="https://avatars.githubusercontent.com/u/8355305?v=4?s=100" width="100px;" alt="leo60228"/><br /><sub><b>leo60228</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=leo60228" title="Documentation">📖</a> <a href="#data-leo60228" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shachar700"><img src="https://avatars.githubusercontent.com/u/48739719?v=4?s=100" width="100px;" alt="shachar700"/><br /><sub><b>shachar700</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=shachar700" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://purrfectdoodle.com"><img src="https://avatars.githubusercontent.com/u/105788407?v=4?s=100" width="100px;" alt="Eva"/><br /><sub><b>Eva</b></sub></a><br /><a href="#design-purrfectdoodle" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/amiosi"><img src="https://avatars.githubusercontent.com/u/44352097?v=4?s=100" width="100px;" alt="amiosi"/><br /><sub><b>amiosi</b></sub></a><br /><a href="#data-amiosi" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mrdollsteak"><img src="https://avatars.githubusercontent.com/u/5975698?v=4?s=100" width="100px;" alt="mrdollsteak"/><br /><sub><b>mrdollsteak</b></sub></a><br /><a href="#data-mrdollsteak" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TheXaman"><img src="https://avatars.githubusercontent.com/u/48356183?v=4?s=100" width="100px;" alt="TheXaman"/><br /><sub><b>TheXaman</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=TheXaman" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ZnogyroP"><img src="https://avatars.githubusercontent.com/u/20970593?v=4?s=100" width="100px;" alt="ZnogyroP"/><br /><sub><b>ZnogyroP</b></sub></a><br /><a href="#design-ZnogyroP" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/luckytyphlosion"><img src="https://avatars.githubusercontent.com/u/10688458?v=4?s=100" width="100px;" alt="luckytyphlosion"/><br /><sub><b>luckytyphlosion</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=luckytyphlosion" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ShinyDragonHunter"><img src="https://avatars.githubusercontent.com/u/32826900?v=4?s=100" width="100px;" alt="Josh"/><br /><sub><b>Josh</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=ShinyDragonHunter" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Gamer2020"><img src="https://avatars.githubusercontent.com/u/6243575?v=4?s=100" width="100px;" alt="Gamer2020"/><br /><sub><b>Gamer2020</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Gamer2020" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SonikkuA-DatH"><img src="https://avatars.githubusercontent.com/u/58025603?v=4?s=100" width="100px;" alt="SonikkuA-DatH"/><br /><sub><b>SonikkuA-DatH</b></sub></a><br /><a href="#design-SonikkuA-DatH" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://jaizu.moe"><img src="https://avatars.githubusercontent.com/u/18596778?v=4?s=100" width="100px;" alt="Jaizu"/><br /><sub><b>Jaizu</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Jaizu" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/izrofid"><img src="https://avatars.githubusercontent.com/u/206095739?v=4?s=100" width="100px;" alt="Kildemal"/><br /><sub><b>Kildemal</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=izrofid" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Skeli789"><img src="https://avatars.githubusercontent.com/u/17243618?v=4?s=100" width="100px;" alt="Skeli"/><br /><sub><b>Skeli</b></sub></a><br /><a href="#design-Skeli789" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://hufford.io"><img src="https://avatars.githubusercontent.com/u/8021794?v=4?s=100" width="100px;" alt="Josh Hufford"/><br /><sub><b>Josh Hufford</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=ostomachion" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Kasenn"><img src="https://avatars.githubusercontent.com/u/115586266?v=4?s=100" width="100px;" alt="Kasenn"/><br /><sub><b>Kasenn</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=Kasenn" title="Code">💻</a></td>
</tr>
<tr>
<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>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/luuma"><img src="https://avatars.githubusercontent.com/u/31407427?v=4?s=100" width="100px;" alt="luuma"/><br /><sub><b>luuma</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/commits?author=luuma" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DragonScaledEmma"><img src="https://avatars.githubusercontent.com/u/220702264?v=4?s=100" width="100px;" alt="Emma"/><br /><sub><b>Emma</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/issues?q=author%3ADragonScaledEmma" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Gammel2013"><img src="https://avatars.githubusercontent.com/u/160730477?v=4?s=100" width="100px;" alt="gammel2013"/><br /><sub><b>gammel2013</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/issues?q=author%3Agammel2013" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/BluSunrize"><img src="https://avatars.githubusercontent.com/u/4106382?v=4?s=100" width="100px;" alt="blusunrize"/><br /><sub><b>blusunrize</b></sub></a><br /><a href="https://github.com/rh-hideout/pokeemerald-expansion/issues?q=author%3Ablusunrize" title="Bug reports">🐛</a></td>
</tr>
</tbody>
<tfoot>

View File

@ -140,7 +140,7 @@ git remote add RHH https://github.com/rh-hideout/pokeemerald-expansion
2. Pull your desired branch
There are three different options to pull from.
```console
git pull RHH master # if you've chosen to use the upcoming branch, replace the word master with upcoming.
git pull RHH master # if you've chosen to use the upcoming branch, replace the word master with upcoming.
# If you've chosen the latest patch, replace the word master with expansion
# If you've chosen Latest Patch, replace the word master with expansion/1.11.0 where 1.11.0 is replaced with whatever the latest released version is.
```
@ -173,7 +173,7 @@ For example, if your version is 1.7.0, you should update to 1.7.4.
git pull RHH expansion/X.Y.Z # Replace X, Y and Z with the target version, such as `1.9.3`, `master`, or `upcoming`.
```
You may have merge conflicts that you need to resolve.
You may have merge conflicts that you need to resolve.
If you targeted a specific version that is not the latest version listed on the [tags](https://github.com/rh-hideout/pokeemerald-expansion/tags) page, you should repeat steps 3 and 4 until you are.

View File

@ -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)
@ -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
@ -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
@ -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
@ -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)
@ -379,6 +386,7 @@ clean-assets:
rm -f $(MID_SUBDIR)/*.s
rm -f $(DATA_ASM_SUBDIR)/layouts/layouts.inc $(DATA_ASM_SUBDIR)/layouts/layouts_table.inc
rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc $(DATA_SRC_SUBDIR)/map_group_count.h
rm -f .map_version
find sound -iname '*.bin' -exec rm {} +
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.smol' -o -iname '*.fastSmol' -o -iname '*.smolTM' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} +
@ -386,7 +394,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:
@ -434,11 +442,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
@ -454,6 +470,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).
@ -473,6 +491,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
@ -510,7 +529,7 @@ ifneq ($(NODEP),1)
endif
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s
$(PREPROC) $< charmap.txt | $(CPP) $(CPPFLAGS) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@
$(PREPROC) -s $< charmap.txt | $(CPP) $(CPPFLAGS) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@
$(DATA_ASM_BUILDDIR)/%.d: $(DATA_ASM_SUBDIR)/%.s
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $<
@ -528,16 +547,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

View File

@ -4,7 +4,7 @@
<!-- If you want to re-record or change these gifs, here are some notes that I used: https://files.catbox.moe/05001g.md -->
**`pokeemerald-expansion`** is a GBA ROM hack base that equips developers with a comprehensive toolkit for creating Pokémon ROM hacks. **`pokeemerald-expansion`** is built on top of [pret's `pokeemerald`](https://github.com/pret/pokeemerald) decompilation project. **It is not a playable Pokémon game on its own.**
**`pokeemerald-expansion`** is a GBA ROM hack base that equips developers with a comprehensive toolkit for creating Pokémon ROM hacks. **`pokeemerald-expansion`** is built on top of [pret's `pokeemerald`](https://github.com/pret/pokeemerald) decompilation project. **It is not a playable Pokémon game on its own.**
# [Features](FEATURES.md)
@ -17,7 +17,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.1 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!
@ -30,7 +30,7 @@ Please consider [crediting all contributors](CREDITS.md) involved in the project
# [Getting Started](INSTALL.md)
❗❗ **Important**: Do not use GitHub's "Download Zip" option as it will not include commit history. This is necessary if you want to update or merge other feature branches.
❗❗ **Important**: Do not use GitHub's "Download Zip" option as it will not include commit history. This is necessary if you want to update or merge other feature branches.
If you're new to git and GitHub, [Team Aqua's Asset Repo](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/) has a [guide to forking and cloning the repository](https://github.com/Pawkkie/Team-Aquas-Asset-Repo/wiki/The-Basics-of-GitHub). Then you can follow one of the following guides:

View File

@ -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"

View File

@ -10,7 +10,7 @@
.2byte \tag
.endm
.macro createsprite template:req, anim_battler:req, subpriority_offset:req, argv:vararg
.macro createsprite template:req, anim_battler:req, subpriority_offset:req, argv:vararg
.byte 0x02
.4byte \template
.if \anim_battler == ANIM_TARGET
@ -288,7 +288,7 @@
.byte 0x31
.4byte \template
.if \anim_battler == ANIM_TARGET
.byte 0x80 | (\subpriority_offset & 0x7F)
.byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F)
.else
.byte (\subpriority_offset & 0x7F)
.endif
@ -304,7 +304,7 @@
.byte 0x32
.4byte \template
.if \anim_battler == ANIM_TARGET
.byte 0x80 | (\subpriority_offset & 0x7F)
.byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F)
.else
.byte (\subpriority_offset & 0x7F)
.endif
@ -351,3 +351,304 @@
createvisualtask AnimTask_IsDoubleBattle, 0
jumprettrue \ptr
.endm
@ createsprite wrappers
@ The arguments are based on the CMD_ARGS of the callback associated with the template.
.macro simple_palette_blend unused_anim_battler=ANIM_ATTACKER, unused_subpriority_offset=2, selector:req, delay:req, initial_blend_y:req, target_blend_y:req, color:req
createsprite gSimplePaletteBlendSpriteTemplate, \unused_anim_battler, \unused_subpriority_offset, \selector, \delay, \initial_blend_y, \target_blend_y, \color
.endm
.macro complex_palette_blend unused_anim_battler=ANIM_ATTACKER, unused_subpriority_offset=2, selector:req, delay:req, num_blends:req, color1:req, blend_y1:req, color2:req, blend_y2:req
createsprite gComplexPaletteBlendSpriteTemplate, \unused_anim_battler, \unused_subpriority_offset, \selector, \delay, \num_blends, \color1, \blend_y1, \color2, \blend_y2
.endm
.macro shake_mon_or_platform unused_anim_battler=ANIM_ATTACKER, unused_subpriority_offset=2, velocity:req, shake_timer:req, shake_duration:req, type:req, battler_selector
.if \type == SHAKE_MON_X || \type == SHAKE_MON_Y
.ifb \battler_selector
.error "battler_selector required for SHAKE_MON_X or SHAKE_MON_Y"
.endif
.else
.ifnb \battler_selector
.warning "unused battler_selector in shake_mon_or_platform"
.endif
.endif
.ifb \battler_selector
createsprite gShakeMonOrPlatformSpriteTemplate, \unused_anim_battler, \unused_subpriority_offset, \velocity, \shake_timer, \shake_duration, \type
.else
createsprite gShakeMonOrPlatformSpriteTemplate, \unused_anim_battler, \unused_subpriority_offset, \velocity, \shake_timer, \shake_duration, \type, \battler_selector
.endif
.endm
.macro create_megahorn_horn_sprite anim_battler:req, subpriority_offset:req, x1:req, y1:req, x2:req, y2:req, duration:req
createsprite gMegahornHornSpriteTemplate, \anim_battler, \subpriority_offset, \x1, \y1, \x2, \y2, \duration
.endm
.macro create_leech_life_needle_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req
createsprite gLeechLifeNeedleSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration
.endm
.macro create_web_thread_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, unk2:req, amplitude:req, targets_both:req
createsprite gWebThreadSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \unk2, \amplitude, \targets_both
.endm
.macro create_string_wrap_sprite anim_battler:req, subpriority_offset:req, x:req, y:req
createsprite gStringWrapSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y
.endm
.macro create_linear_stinger_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req
createsprite gLinearStingerSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration
.endm
.macro create_pin_missile_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req, wave_amplitude:req
createsprite gPinMissileSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration, \wave_amplitude
.endm
.macro create_tail_glow_orb_sprite anim_battler:req, subpriority_offset:req, relative_to:req
createsprite gTailGlowOrbSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to
.endm
.macro create_sharp_teeth_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, animation:req, x_velocity:req, y_velocity:req, half_duration:req
createsprite gSharpTeethSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \animation, 256 * \x_velocity, 256 * \y_velocity, \half_duration
.endm
.macro create_clamp_jaw_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, animation:req, x_velocity:req, y_velocity:req, half_duration:req
createsprite gClampJawSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \animation, 256 * \x_velocity, 256 * \y_velocity, \half_duration
.endm
.macro create_tear_drop_sprite anim_battler:req, subpriority_offset:req, relative_to:req, type:req
createsprite gTearDropSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to, \type
.endm
.macro create_claw_slash_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, animation:req
createsprite gClawSlashSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \animation
.endm
.macro create_outrage_flame_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req, x_velocity:req, y_velocity:req, flicker_duration:req
createsprite gOutrageFlameSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration, 256 * \x_velocity, 256 * \y_velocity, \flicker_duration
.endm
.macro create_dragon_breath_fire_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req
createsprite gDragonBreathFireSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration
.endm
.macro create_dragon_rage_fire_spit_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req
createsprite gDragonRageFireSpitSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration
.endm
.macro create_dragon_rage_fire_plume_sprite anim_battler:req, subpriority_offset:req, relative_to:req, x:req, y:req
createsprite gDragonRageFirePlumeSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to, \x, \y
.endm
.macro create_dragon_dance_orb_sprite anim_battler:req, subpriority_offset:req, angle:req
createsprite gDragonDanceOrbSpriteTemplate, \anim_battler, \subpriority_offset, 256 * \angle
.endm
.macro create_overheat_flame_sprite anim_battler:req, subpriority_offset:req, speed:req, unk1:req, unk2:req, duration:req, y:req
createsprite gOverheatFlameSpriteTemplate, \anim_battler, \subpriority_offset, \speed, \unk1, \unk2, \duration, \y
.endm
.macro create_sleep_powder_particle_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req, y_velocity:req, wave_amplitude:req, wave_speed:req
createsprite gSleepPowderParticleSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration, 256 * \y_velocity, \wave_amplitude, \wave_speed
.endm
.macro create_stun_spore_particle_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req, y_velocity:req, wave_amplitude:req, wave_speed:req
createsprite gStunSporeParticleSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration, 256 * \y_velocity, \wave_amplitude, \wave_speed
.endm
.macro create_poison_powder_particle_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req, y_velocity:req, wave_amplitude:req, wave_speed:req
createsprite gPoisonPowderParticleSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration, 256 * \y_velocity, \wave_amplitude, \wave_speed
.endm
.macro create_power_absorption_orb_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req
createsprite gPowerAbsorptionOrbSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration
.endm
.macro create_stockpile_absorption_orb_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req
createsprite gStockpileAbsorptionOrbSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration
.endm
.macro create_solar_beam_big_orb_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, duration:req, animation:req
createsprite gSolarBeamBigOrbSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \duration, \animation
.endm
.macro create_absorption_orb_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, wave_amplitude:req, wave_period:req
createsprite gAbsorptionOrbSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \wave_amplitude, \wave_period
.endm
.macro create_hyper_beam_orb_sprite anim_battler:req, subpriority_offset:req
createsprite gHyperBeamOrbSpriteTemplate, \anim_battler, \subpriority_offset
.endm
.macro createleechseedsprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req, wave_amplitude:req
createsprite gLeechSeedSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration, \wave_amplitude
.endm
.macro create_spore_particle_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, wave_offset:req, duration:req, blend:req
createsprite gSporeParticleSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \wave_offset, \duration, \blend
.endm
.macro create_petal_dance_big_flower_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_y:req, duration:req
createsprite gPetalDanceBigFlowerSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_y, \duration
.endm
.macro create_petal_dance_small_flower_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_y:req, duration:req
createsprite gPetalDanceSmallFlowerSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_y, \duration
.endm
.macro create_razor_leaf_particle_sprite anim_battler:req, subpriority_offset:req, upward_delta_x:req, upward_delta_y:req, upward_duration:req
createsprite gRazorLeafParticleSpriteTemplate, \anim_battler, \subpriority_offset, \upward_delta_x, \upward_delta_y, \upward_duration
.endm
.macro create_razor_leaf_cutter_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req, wave_amplitude:req, target_both:req
createsprite gRazorLeafCutterSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration, \wave_amplitude, \target_both
.endm
.macro create_swift_star_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, target_x:req, target_y:req, duration:req, wave_amplitude:req, target_both:req
createsprite gSwiftStarSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \target_x, \target_y, \duration, \wave_amplitude, \target_both
.endm
.macro create_twister_leaf_sprite anim_battler:req, subpriority_offset:req, duration:req, distance_y:req, wave_period:req, wave_amplitude:req, speed_up_on_frame:req
createsprite gTwisterLeafSpriteTemplate, \anim_battler, \subpriority_offset, \duration, \distance_y, \wave_period, \wave_amplitude, \speed_up_on_frame
.endm
.macro create_constrict_binding_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, affine_animation:req, squeezes:req
createsprite gConstrictBindingSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \affine_animation, \squeezes
.endm
.macro create_mimic_orb_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req
createsprite gMimicOrbSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y
.endm
.macro create_ingrain_root_sprite anim_battler:req, subpriority_offset:req, offset_x:req, offset_y:req, subpriority:req, animation:req, duration:req
createsprite gIngrainRootSpriteTemplate, \anim_battler, \subpriority_offset, \offset_x, \offset_y, \subpriority - 30, \animation, \duration
.endm
.macro create_frenzy_plant_root_sprite anim_battler:req, subpriority_offset:req, interpolate_percent:req, offset_x:req, offset_y:req, subpriority:req, animation:req, duration:req
createsprite gFrenzyPlantRootSpriteTemplate, \anim_battler, \subpriority_offset, \interpolate_percent, \offset_x, \offset_y, \subpriority - 30, \animation, \duration
.endm
.macro create_ingrain_orb_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, velocity_x:req, wave_amplitude:req, duration:req
createsprite gIngrainOrbSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \velocity_x, \wave_amplitude, \duration
.endm
.macro create_present_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, unk2:req, unk3:req, unk4:req
createsprite gPresentSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \unk2, \unk3, \unk4
.endm
.macro create_present_heal_particle_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, velocity_y:req, unused3=1
createsprite gPresentHealParticleSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \velocity_y, \unused3
.endm
.macro create_item_steal_sprite anim_battler:req, subpriority_offset:req, initial_x:req, initial_y:req, unk2, unk3, unk4
createsprite gItemStealSpriteTemplate, \anim_battler, \subpriority_offset, \initial_x, \initial_y, \unk2, \unk3, \unk4
.endm
.macro create_trick_bag_sprite anim_battler:req, subpriority_offset:req, initial_y:req, wave_offset:req
createsprite gTrickBagSpriteTemplate, \anim_battler, \subpriority_offset, \initial_y, \wave_offset
.endm
.macro create_confusion_duck_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, wave_offset:req, wave_period:req, duration:req
createsprite gConfusionDuckSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \wave_offset, \wave_period, \duration
.endm
.macro create_basic_hitsplat_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, relative_to:req, animation:req
createsprite gBasicHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \relative_to, \animation
.endm
.macro create_persist_hitsplat_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, relative_to:req, animation:req, duration:req
createsprite gPersistHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \relative_to, \animation, \duration
.endm
.macro create_handle_invert_hitsplat_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, relative_to:req, animation:req
createsprite gHandleInvertHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \relative_to, \animation
.endm
.macro create_random_pos_hitsplat_sprite anim_battler:req, subpriority_offset:req, relative_to:req, animation
.ifnb \animation
createsprite gRandomPosHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to, \animation
.else
createsprite gRandomPosHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to, -1
.endif
.endm
.macro create_mon_edge_hitsplat_sprite anim_battler:req, subpriority_offset:req, relative_to:req, x:req, y:req, animation:req
createsprite gMonEdgeHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \relative_to, \x, \y, \animation
.endm
.macro create_cross_impact_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, relative_to:req, duration:req
createsprite gCrossImpactSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \relative_to, \duration
.endm
.macro create_flashing_hitsplat_sprite anim_battler:req, subpriority_offset:req, x:req, y:req, relative_to:req, animation:req
createsprite gFlashingHitSplatSpriteTemplate, \anim_battler, \subpriority_offset, \x, \y, \relative_to, \animation
.endm
@ createvisualtask wrappers
@ The arguments are based on the CMD_ARGS of the task.
.macro metallic_shine priority=5, permanent:req, color
.ifb \color
createvisualtask AnimTask_MetallicShine, \priority, \permanent, FALSE, RGB_BLACK
.else
createvisualtask AnimTask_MetallicShine, \priority, \permanent, TRUE, \color
.endif
.endm
.macro set_grayscale_pal priority=5, battler:req
createvisualtask AnimTask_SetGrayscaleOrOriginalPal, \priority, \battler, FALSE
.endm
.macro set_original_pal priority=5, battler:req
createvisualtask AnimTask_SetGrayscaleOrOriginalPal, \priority, \battler, TRUE
.endm
.macro attacker_fade_to_invisible priority=2, step_delay:req
createvisualtask AnimTask_AttackerFadeToInvisible, \priority, \step_delay
.endm
.macro attacker_fade_from_invisible priority=2, step_delay:req
createvisualtask AnimTask_AttackerFadeFromInvisible, \priority, \step_delay
.endm
.macro shrink_target_copy priority=5, unk0:req, unk1:req
createvisualtask AnimTask_ShrinkTargetCopy, \priority, \unk0, \unk1
.endm
.macro create_leaf_blade_task priority=5
createvisualtask AnimTask_LeafBlade, \priority
.endm
.macro blend_color_cycle priority=2, selector:req, delay:req, num_blends:req, initial_blend_y:req, target_blend_y:req, color:req
createvisualtask AnimTask_BlendColorCycle, \priority, \selector, \delay, \num_blends, \initial_blend_y, \target_blend_y, \color
.endm
.macro blend_color_cycleexclude priority=2, unk0:req, delay:req, num_blends:req, initial_blend_y:req, target_blend_y:req, color:req
createvisualtask AnimTask_BlendColorCycleExclude, \priority, \unk0, \delay, \num_blends, \initial_blend_y, \target_blend_y, \color
.endm
.macro blend_color_cyclebytag priority=2, tag:req, delay:req, num_blends:req, initial_blend_y:req, target_blend_y:req, color:req
createvisualtask AnimTask_BlendColorCycleByTag, \priority, \tag, \delay, \num_blends, \initial_blend_y, \target_blend_y, \color
.endm
.macro flash_anim_tag_with_color priority=2, tag:req, delay:req, num_blends:req, color1:req, blend_y1:req, color2:req, blend_y2:req
createvisualtask AnimTask_FlashAnimTagWithColor, \priority, \tag, \delay, \num_blends, \color1, \blend_y1, \color2, \blend_y2
.endm
@ NOTE: This function is different on expansion compared to pret
.macro invert_screen_color priority=2, scenery:req
@ NOTE: These generate 0x000 or 0x101 to match, but the code checks for '& 0x100'.
createvisualtask AnimTask_InvertScreenColor, \priority, \scenery
.endm
.macro tint_palettes priority=2, scenery:req, attacker:req, target:req, duration:req, color:req
createvisualtask AnimTask_TintPalettes, \priority, \scenery << 8, \attacker << 8, \target << 8, \duration, \color & 0x1F, (\color >> 5) & 0x1F, (\color >> 10) & 0x1F
.endm
.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

View File

@ -98,14 +98,13 @@
waitstate
.endm
.macro multi_do type:req, partnerId:req
.macro multi_do type:req
special ReducePlayerPartyToSelectedMons
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_DATA
setvar VAR_0x8005, FRONTIER_DATA_SELECTED_MON_ORDER
special CallFrontierUtilFunc @ saves the mon order, so the non-selected mons get restored afterwards
setvar VAR_0x8004, SPECIAL_BATTLE_MULTI
setvar VAR_0x8005, \type | MULTI_BATTLE_CHOOSE_MONS
setvar VAR_0x8006, \partnerId
special DoSpecialTrainerBattle
waitstate
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SAVE_PARTY
@ -115,26 +114,26 @@
.macro multi_2_vs_2 trainer1Id:req, trainer1LoseText:req, trainer2Id:req, trainer2LoseText:req, partnerId:req
special SavePlayerParty
trainerbattle TRAINER_BATTLE_SET_TRAINERS_FOR_MULTI_BATTLE, OBJ_ID_NONE, \trainer1Id, NULL, \trainer1LoseText, NULL, OBJ_ID_NONE, \trainer2Id, NULL, \trainer2LoseText, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
multi_do MULTI_BATTLE_2_VS_2, \partnerId
setmultitrainerbattle \trainer1Id, \trainer1LoseText, \trainer2Id, \trainer2LoseText, \partnerId
multi_do MULTI_BATTLE_2_VS_2
.endm
.macro multi_2_vs_1 trainer1Id:req, trainer1LoseText:req, partnerId:req
special SavePlayerParty
trainerbattle TRAINER_BATTLE_SET_TRAINERS_FOR_MULTI_BATTLE, OBJ_ID_NONE, \trainer1Id, NULL, \trainer1LoseText, NULL, OBJ_ID_NONE, TRAINER_NONE, NULL, NULL, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
multi_do MULTI_BATTLE_2_VS_1, \partnerId
setmultitrainerbattle \trainer1Id, \trainer1LoseText, TRAINER_NONE, NULL, \partnerId
multi_do MULTI_BATTLE_2_VS_1
.endm
@ Wild mons need to be assigned to gEnemyParty 0 and 3 slots, other slots need to be cleared out.
.macro multi_wild partnerId:req
special SavePlayerParty
multi_do MULTI_BATTLE_2_VS_WILD, \partnerId
setmultitrainerbattle TRAINER_NONE, NULL, TRAINER_NONE, NULL, \partnerId
multi_do MULTI_BATTLE_2_VS_WILD
.endm
.macro multi_do_fixed type:req, partnerId:req
.macro multi_do_fixed type:req
setvar VAR_0x8004, SPECIAL_BATTLE_MULTI
setvar VAR_0x8005, \type
setvar VAR_0x8006, \partnerId
special DoSpecialTrainerBattle
waitstate
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SAVE_PARTY
@ -144,18 +143,19 @@
.macro multi_fixed_2_vs_2 trainer1Id:req, trainer1LoseText:req, trainer2Id:req, trainer2LoseText:req, partnerId:req
special SavePlayerParty
trainerbattle TRAINER_BATTLE_SET_TRAINERS_FOR_MULTI_BATTLE, OBJ_ID_NONE, \trainer1Id, NULL, \trainer1LoseText, NULL, OBJ_ID_NONE, \trainer2Id, NULL, \trainer2LoseText, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
multi_do_fixed MULTI_BATTLE_2_VS_2, \partnerId
setmultitrainerbattle \trainer1Id, \trainer1LoseText, \trainer2Id, \trainer2LoseText, \partnerId
multi_do_fixed MULTI_BATTLE_2_VS_2
.endm
.macro multi_fixed_2_vs_1 trainer1Id:req, trainer1LoseText:req, partnerId:req
special SavePlayerParty
trainerbattle TRAINER_BATTLE_SET_TRAINERS_FOR_MULTI_BATTLE, OBJ_ID_NONE, \trainer1Id, NULL, \trainer1LoseText, NULL, OBJ_ID_NONE, TRAINER_NONE, NULL, NULL, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
multi_do_fixed MULTI_BATTLE_2_VS_1, \partnerId
setmultitrainerbattle \trainer1Id, \trainer1LoseText, TRAINER_NONE, NULL, \partnerId
multi_do_fixed MULTI_BATTLE_2_VS_1
.endm
@ Wild mons need to be assigned to gEnemyParty 0 and 3 slots, other slots need to be cleared out.
.macro multi_fixed_wild partnerId:req
special SavePlayerParty
multi_do_fixed MULTI_BATTLE_2_VS_WILD, \partnerId
setmultitrainerbattle TRAINER_NONE, NULL, TRAINER_NONE, NULL, \partnerId
multi_do_fixed MULTI_BATTLE_2_VS_WILD
.endm

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,8 @@
STD_FIND_ITEM = 1
STD_OBTAIN_DECORATION = 7
STD_REGISTER_MATCH_CALL = 8
STD_PUT_ITEM_AWAY = 11
STD_RECEIVED_ITEM = 12
@ Calls the script in gStdScripts at index function.
.macro callstd function:req
@ -644,6 +646,10 @@
.endif
.endm
.macro waitmovementall
callnative Script_waitmovementall, requests_effects=1
.endm
@ Attempts to despawn the specified (localId) object on the specified map.
@ It also sets the object's visibility flag if it has one.
@ If no map is specified, then the current map is used.
@ -726,7 +732,7 @@
OBJ_ID_NONE = 0
@ Configures the arguments for a trainer battle, then jumps to the appropriate script in scripts/trainer_battle.inc
.macro trainerbattle type:req localIdA:req, trainer_a:req, intro_text_a:req, lose_text_a:req, event_script_a:req, localIdB:req, trainer_b:req, intro_text_b:req, lose_text_b:req, event_script_b:req, victory_text:req, cannot_battle:req, isDouble:req, playMusicA:req, playMusicB:req, isRematch:req
.macro trainerbattle type:req localIdA:req, trainer_a:req, intro_text_a:req, lose_text_a:req, event_script_a:req, localIdB:req, trainer_b:req, intro_text_b:req, lose_text_b:req, event_script_b:req, victory_text:req, cannot_battle:req, isDouble:req, playMusicA:req, playMusicB:req, isRematch:req, rival_battle_flags=0
.byte SCR_OP_TRAINERBATTLE
.set trainerbattle_flags, 0
.ifgt \isDouble; .set trainerbattle_flags, trainerbattle_flags | (1 << 0); .endif
@ -747,6 +753,7 @@
.4byte \event_script_b @ retAddrB
.4byte \victory_text @ victoryText
.4byte \cannot_battle @ cannotBattle
.byte \rival_battle_flags @ rivalBattleFlags
.endm
NO_MUSIC = FALSE
@ -796,6 +803,11 @@
trainerbattle TRAINER_BATTLE_TWO_TRAINERS_NO_INTRO, OBJ_ID_NONE, \trainer_a, NULL, \lose_text_a, NULL, OBJ_ID_NONE, \trainer_b, NULL, \lose_text_b, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
.endm
@ Starts a trainer battle with victory text if the player loses. If flags is nonzero, the player will be healed after battle (and its assumed to be the tutorial battle)
.macro trainerbattle_earlyrival trainer:req, flags:req, lose_text:req, victory_text:req
trainerbattle TRAINER_BATTLE_EARLY_RIVAL, OBJ_ID_NONE, \trainer, NULL, \lose_text, NULL, OBJ_ID_NONE, TRAINER_NONE, NULL, NULL, NULL, \victory_text, NULL, FALSE, TRUE, FALSE, FALSE, \flags
.endm
@ Starts a trainer battle using the battle information stored in RAM (usually by the scripts in trainer_battle.inc, which
@ are run by trainerbattle), and blocks script execution until the battle finishes.
.macro dotrainerbattle
@ -1014,9 +1026,9 @@
.2byte \level
.ifnb \item; .set givemon_flags, givemon_flags | (1 << 0); .endif
.ifnb \ball; .set givemon_flags, givemon_flags | (1 << 1); .endif
.ifnb \nature; .set givemon_flags, givemon_flags | (1 << 2); .endif
.set givemon_flags, givemon_flags | (1 << 2);
.ifnb \abilityNum; .set givemon_flags, givemon_flags | (1 << 3); .endif
.ifnb \gender; .set givemon_flags, givemon_flags | (1 << 4); .endif
.set givemon_flags, givemon_flags | (1 << 4);
.ifnb \hpEv; .set givemon_flags, givemon_flags | (1 << 5); .endif
.ifnb \atkEv; .set givemon_flags, givemon_flags | (1 << 6); .endif
.ifnb \defEv; .set givemon_flags, givemon_flags | (1 << 7); .endif
@ -1040,9 +1052,9 @@
.4byte givemon_flags
.ifnb \item; .2byte \item; .endif
.ifnb \ball; .2byte \ball; .endif
.ifnb \nature; .2byte \nature; .endif
.ifnb \nature; .2byte \nature; .else; .2byte NATURE_MAY_SYNCHRONIZE; .endif
.ifnb \abilityNum; .2byte \abilityNum; .endif
.ifnb \gender; .2byte \gender; .endif
.ifnb \gender; .2byte \gender; .else; .2byte MON_GENDER_MAY_CUTE_CHARM; .endif
.ifnb \hpEv; .2byte \hpEv; .endif
.ifnb \atkEv; .2byte \atkEv; .endif
.ifnb \defEv; .2byte \defEv; .endif
@ -1906,6 +1918,12 @@
.2byte \id
.endm
@ Gets the width of the specified message in the Braille font and sets the result to VAR_0x8004.
.macro getbraillestringwidth msg:req
.byte SCR_OP_GETBRAILLESTRINGWIDTH
.4byte \msg
.endm
.macro dynmultistack left:req, top:req, ignoreBPress:req, maxBeforeScroll:req, shouldSort:req, initialSelected:req, callbacks:req
_dynmultichoice \left, \top, \ignoreBPress, \maxBeforeScroll, \shouldSort, \initialSelected, \callbacks, NULL
.endm
@ -2083,6 +2101,13 @@
callstd STD_FIND_ITEM
.endm
@ Prints the message "{PLAYER} put the {ITEM} in the {POCKET}." The item name is pluralized, if applicable.
.macro putitemaway item:req, amount=1
setorcopyvar VAR_0x8000, \item
setorcopyvar VAR_0x8001, \amount
callstd STD_PUT_ITEM_AWAY
.endm
@ Equivalent to giveitem but for a single decoration.
.macro givedecoration decoration:req
setorcopyvar VAR_0x8000, \decoration
@ -2125,6 +2150,11 @@
.4byte \func
.endm
.macro setdynamicswitchaifunc func:req
callnative ScriptSetDynamicAiSwitchFunc, requests_effects=1
.4byte \func
.endm
@ Set up a totem boost for the next battle.
@ 'battler' is the position of the mon you want to gain a boost. see B_POSITION_xx in include/constants/battle.h.
@ The rest of the arguments are the stat change values to each stat.
@ -2274,6 +2304,12 @@
.2byte \slot
.endm
@ Sets the hp to 0 for the Pokémon in \slot.
.macro setko slot:req
callnative Script_SetKO, requests_effects=1
.2byte \slot
.endm
@ Sets VAR_RESULT to the Pokémon in \slot's Tera Type
.macro checkteratype slot:req
callnative CheckTeraType, requests_effects=1
@ -2340,7 +2376,7 @@
@ ============================ @
@ FAKE RTC MACROS
@ Will only function if OW_USE_FAKE_RTC is true. If it has any additional requirements, it will be listed accordingly.
@ When OW_USE_FAKE_RTC is true and OW_FLAG_PAUSE_TIME is assigned, this macro will stop the flow of time.
.macro pausefakertc
callnative Script_PauseFakeRtc, requests_effects=1
@ -2364,26 +2400,26 @@
.4byte \minutes
.endm
@ When OW_USE_FAKE_RTC is true, adds a specified number of days to the time.
@ When OW_USE_FAKE_RTC is true, adds a specified number of days to the time.
.macro adddays days:req
callnative ScrCmd_adddays, requests_effects=1
.4byte \days
.endm
@ When OW_USE_FAKE_RTC is true, adds a specified number of days, hours, and minutes to the time.
@ When OW_USE_FAKE_RTC is true, adds a specified number of days, hours, and minutes to the time.
.macro addhours hours:req
callnative ScrCmd_addhours, requests_effects=1
.4byte \hours
.endm
@ When OW_USE_FAKE_RTC is true, adds a specified number of days, hours, and minutes to the time.
@ When OW_USE_FAKE_RTC is true, adds a specified number of days, hours, and minutes to the time.
.macro addminutes minutes:req
callnative ScrCmd_addminutes, requests_effects=1
.4byte \minutes
.endm
@ Forwards the time to a specified hour and minute.
@ This causes the time to go to the next day if the time has already been past.
@ Forwards the time to a specified hour and minute.
@ This causes the time to go to the next day if the time has already been past.
.macro fwdtime hours:req, minutes:req
callnative ScrCmd_fwdtime, requests_effects=1
.4byte \hours
@ -2593,6 +2629,68 @@
cant_see_if 5
.endm
.macro setmultitrainerbattle trainer_a:req, lose_text_a:req, trainer_b:req, lose_text_b:req, partnerId:req
callnative SetMultiTrainerBattle
.2byte \trainer_a
.4byte \lose_text_a
.2byte \trainer_b
.4byte \lose_text_b
.2byte \partnerId
.endm
@ facility version of `trainerbattle` macro. Used in Battle Pyramid and Trainer Hill
.macro facilitytrainerbattle facility:req
callnative FacilityTrainerBattle
.byte \facility
.endm
@ immediately starts a battle of the given facility
.macro dofacilitytrainerbattle facility:req
callnative DoFacilityTrainerBattle
.byte \facility
.endm
.macro ingame_trade tradeId:req wantTradeMsg:req, declineTradeJump:req, wrongMonJump:req, tradeCompleteMsg:req
setvar VAR_0x8005, \tradeId
specialvar VAR_0x8009, GetInGameTradeSpeciesInfo
msgbox \wantTradeMsg, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, \declineTradeJump
chooseboxmon SELECT_PC_MON_TRADE
waitstate
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, \declineTradeJump
specialvar VAR_0x800B, GetTradeSpecies
goto_if_ne VAR_0x800B, VAR_0x8009, \wrongMonJump
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
msgbox \tradeCompleteMsg, MSGBOX_DEFAULT
.endm
.macro move_tutor moveId:req, wantTeachingMsg:req, monSelectMsg:req, declinedJmp:req, taughtJmp:req, flagId=0
.if \flagId
goto_if_set \flagId, \taughtJmp
.endif
msgbox \wantTeachingMsg, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, \declinedJmp
.if \flagId
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
goto_if_eq VAR_RESULT, NO, \declinedJmp
.endif
msgbox \monSelectMsg, MSGBOX_DEFAULT
setvar VAR_0x8005, \moveId
call MoveTutor_EventScript_OpenBox
goto_if_eq VAR_RESULT, FALSE, \declinedJmp
.if \flagId
setflag \flagId
.endif
goto \taughtJmp
.endm
.macro chooseboxmon selectionType=SELECT_PC_MON_NORMAL
callnative ChooseBoxMon
.byte \selectionType
.endm
@ Follower NPCs
@ Sets an existing NPC up to follow the player.
@ -2617,7 +2715,7 @@
.2byte \battlePartner
.4byte \script
updatefollowingmon
1:
1:
.else
.error "setfollowernpc unavailable with FNPC_ENABLE_NPC_FOLLOWERS defined as FALSE"
.endif
@ -2710,3 +2808,49 @@
callnative ScrCmd_istmrelearneractive, requests_effects=1
.4byte \destination
.endm
@ Sets a starting status for the next battle. Can be stacked.
.macro setstartingstatus status:req
callnative ScrCmd_setstartingstatus
.byte \status
.endm
@ FRLG
@ Prints the provided message after playing the fanfare music (can only be MUS_LEVEL_UP or MUS_RG_OBTAIN_KEY_ITEM).
@ It then prints the message shown by using putitemaway.
.macro msgreceiveditem msg:req, item:req, amount=1, fanfare=MUS_LEVEL_UP
loadword 0, \msg
setorcopyvar VAR_0x8000, \item
setorcopyvar VAR_0x8001, \amount
setorcopyvar VAR_0x8002, \fanfare
callstd STD_RECEIVED_ITEM
.endm
@ Adds the specified item to the bag, then prints a message with fanfare. See description of msgreceiveditem.
.macro giveitem_msg msg:req, item:req, amount=1, fanfare=MUS_LEVEL_UP
additem \item, \amount
msgreceiveditem \msg, \item, \amount, \fanfare
.endm
@ Depends on the provided function. With the default argument, unlocks the specified entry in the Fame Checker.
.macro famechecker person:req, index:req, function=SetFlavorTextFlagFromSpecialVars
setvar VAR_0x8004, \person
setvar VAR_0x8005, \index
special \function
.endm
@ Sets the 'defeated' flag for all trainers in the specified gym.
.macro set_gym_trainers_frlg gym:req
setvar VAR_0x8008, \gym
call Common_EventScript_SetGymTrainers_Frlg
.endm
@ Prints a braille message, then waits for users input.
.macro braillemessage_wait text:req
setvar VAR_0x8006, 0
braillemessage \text
getbraillestringwidth \text
call EventScript_BrailleCursorWaitButton
.endm

View File

@ -15,7 +15,7 @@
.macro voice_group label:req, starting_note
.align 2
.ifb \starting_note
.global voicegroup_\label
.global voicegroup_\label
voicegroup_\label:
.else
.set voicegroup_\label, . - \starting_note * 0xC

View File

@ -46,12 +46,10 @@
.endm
@ Defines an object event template for map data, to be used by a clone object. Mirrors the struct layout of ObjectEventTemplate in include/global.fieldmap.h
@ NOTE: The handling for this type of event does not exist in Emerald by default; it is exclusive to FRLG.
.macro clone_event index:req, gfx:req, x:req, y:req, target_local_id:req, target_map_id:req
.byte \index
.byte \gfx
.2byte \gfx
.byte OBJ_KIND_CLONE
.space 1 @ Padding
.2byte \x, \y
.byte \target_local_id
.space 3 @ Padding
@ -91,17 +89,12 @@
@ Defines a generic background event for map data. Mirrors the struct layout of BgEvent in include/global.fieldmap.h
@ 'kind' is any BG_EVENT_* constant (see include/constants/event_bg.h).
@ 'arg6' and 'arg7' are used differently depending on the bg event type. See macros below
.macro bg_event x:req, y:req, elevation:req, kind:req, arg6:req, arg7
.macro bg_event x:req, y:req, elevation:req, kind:req, arg6:req
.2byte \x, \y
.byte \elevation
.byte \kind
.space 2 @ Padding
.if \kind != BG_EVENT_HIDDEN_ITEM
.4byte \arg6
.else
.2byte \arg6
.2byte \arg7
.endif
.4byte \arg6
inc _num_signs
.endm
@ -111,8 +104,17 @@
.endm
@ Defines a background hidden item event for map data
.macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START)
.macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req, quantity=1, underfoot=FALSE
.if \flag < FLAG_HIDDEN_ITEMS_START
.error "Hidden Item flag \flag is too small. Must be >= FLAG_HIDDEN_ITEMS_START."
.endif
.if \item >= (1 << 12)
.error "quantity \quantity too large"
.endif
.if \quantity >= (1 << 7)
.error "quantity \quantity too large"
.endif
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item | (((\flag) - FLAG_HIDDEN_ITEMS_START) << 11)| (\quantity << 24) | (\underfoot << 31)
.endm
@ Defines a background secret base event for map data

View File

@ -0,0 +1,133 @@
@ Sets NPC gfx and the floor layout depending on current challenge and floor
.macro ttower_initfloor
setvar VAR_0x8004, TRAINER_TOWER_FUNC_INIT_FLOOR
special CallTrainerTowerFunc
.endm
@ Buffers the opponents battle speech to gStringVar4. speech is any TRAINER_TOWER_TEXT_*.
.macro ttower_getspeech speech:req, trainer=0xFF
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_SPEECH
setvar VAR_0x8005, \speech
.if \trainer >= VARS_START && \trainer != 0xFF
copyvar VAR_0x8006, \trainer
.elseif \trainer != 0xFF
setvar VAR_0x8006, \trainer
.endif
special CallTrainerTowerFunc
.endm
@ Starts a trainer tower battle. VAR_0x8005 is unused
.macro ttower_dobattle
setvar VAR_0x8004, TRAINER_TOWER_FUNC_DO_BATTLE
setvar VAR_0x8005, 0
special CallTrainerTowerFunc
.endm
@ Returns the current challenge type (CHALLENGE_TYPE_*). Mixed challenges use different types for each floor. If VAR_0x8005 is != FALSE, does nothing
.macro ttower_getchallengetype
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_TYPE
setvar VAR_0x8005, FALSE
special CallTrainerTowerFunc
.endm
@ Adds 1 to the number of floors cleared (all trainers on floor defeated)
.macro ttower_clearedfloor
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLEARED_FLOOR
special CallTrainerTowerFunc
.endm
@ TRUE if the trainers on this floor were already beaten, FALSE otherwise
.macro ttower_isfloorcleared
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_FLOOR_CLEARED
special CallTrainerTowerFunc
.endm
@ Initializes the Trainer Tower challenge and starts the timer
.macro ttower_startchallenge
setvar VAR_0x8004, TRAINER_TOWER_FUNC_START_CHALLENGE
special CallTrainerTowerFunc
.endm
@ 0 if not spoken to yet, 1 if spoken to but not received prize, 2 if received prize
.macro ttower_getownerstate
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_OWNER_STATE
special CallTrainerTowerFunc
.endm
@ Tries to give prize. 0 if given successfully, 1 if no room for prize, 2 if giving prize should be skipped
.macro ttower_giveprize
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GIVE_PRIZE
special CallTrainerTowerFunc
.endm
@ Checks the final challenge time. 0 if new record, 1 if not, 2 if time has already been checked
.macro ttower_checkfinaltime
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_FINAL_TIME
special CallTrainerTowerFunc
.endm
@ Resumes the challenge timer (or starts, if the timer is 0)
.macro ttower_resumetimer
setvar VAR_0x8004, TRAINER_TOWER_FUNC_RESUME_TIMER
special CallTrainerTowerFunc
.endm
@ Sets that the player lost the challenge
.macro ttower_setlost
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SET_LOST
special CallTrainerTowerFunc
.endm
@ Returns the status of the current Trainer Tower challenge (CHALLENGE_STATUS_*)
.macro ttower_getchallengestatus
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_STATUS
special CallTrainerTowerFunc
.endm
@ Buffers the current challenge time (min in gStringVar1, sec in gStringVar2, fraction sec in gStringVar3)
.macro ttower_gettime
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_TIME
special CallTrainerTowerFunc
.endm
@ Unused. Displays Trainer Tower results. Handled by ShowBattleRecords instead
.macro ttower_showresults
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOW_RESULTS
special CallTrainerTowerFunc
.endm
@ Unused. See above
.macro ttower_closeresults
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLOSE_RESULTS
special CallTrainerTowerFunc
.endm
@ Returns the eligibility of the players party for a double battle (using GetMonsStateToDoubles)
.macro ttower_checkdoubles
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_DOUBLES
special CallTrainerTowerFunc
.endm
@ For the unused E-Reader challenges, gets the number of floors used. Otherwise returns FALSE (all floors used)
.macro ttower_getnumfloors
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_NUM_FLOORS
special CallTrainerTowerFunc
.endm
@ Dummied, always returns FALSE
.macro ttower_shouldexit
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOULD_WARP_TO_COUNTER
special CallTrainerTowerFunc
.endm
@ Plays the encounter music for the trainer number in VAR_TEMP_1
.macro ttower_encountermusic
setvar VAR_0x8004, TRAINER_TOWER_FUNC_ENCOUNTER_MUSIC
special CallTrainerTowerFunc
.endm
@ TRUE if the player reached the Battle Tower owner, FALSE otherwise
.macro ttower_getbeatchallenge
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_BEAT_CHALLENGE
special CallTrainerTowerFunc
.endm

View File

@ -9,7 +9,7 @@ SOUND_BIN_DIR := sound
# Needs to recompile for B_NUM_LOW_HEALTH_BEEPS in battle.h
EXPANSION_BATTLE_CONFIG := include/config/battle.h
SPECIAL_OUTDIRS := $(MID_ASM_DIR) $(CRY_BIN_DIR)
SPECIAL_OUTDIRS := $(MID_ASM_DIR) $(CRY_BIN_DIR)
SPECIAL_OUTDIRS += $(SOUND_BIN_DIR) $(SOUND_BIN_DIR)/direct_sound_samples/phonemes $(SOUND_BIN_DIR)/direct_sound_samples/cries
$(shell mkdir -p $(SPECIAL_OUTDIRS) )
@ -25,11 +25,11 @@ $(CRY_BIN_DIR)/%.bin: $(CRY_SUBDIR)/%.wav
$(WAV2AGB) -b -c -l 1 --no-pad $< $@
# Uncompressed cries
$(CRY_BIN_DIR)/uncomp_%.bin: $(CRY_SUBDIR)/uncomp_%.aif
$(CRY_BIN_DIR)/uncomp_%.bin: $(CRY_SUBDIR)/uncomp_%.aif
$(AIF) $< $@
# Uncompressed sounds
$(SOUND_BIN_DIR)/%.bin: sound/%.wav
$(SOUND_BIN_DIR)/%.bin: sound/%.wav
$(WAV2AGB) -b $< $@
# For each line in midi.cfg, we do some trickery to convert it into a make rule for the `.mid` file described on the line

View File

@ -350,6 +350,7 @@ ARCHIE = FD 0A
MAXIE = FD 0B
KYOGRE = FD 0C
GROUDON = FD 0D
REGION = FD 0E
@ battle string placeholders
@ -435,10 +436,10 @@ DYNAMIC = F7
@ more text functions
COLOR = FC 01 @ use a color listed below right after
HIGHLIGHT = FC 02 @ same as fc 01
SHADOW = FC 03 @ same as fc 01
COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 bytes
COLOR = FC 01 @ use a color listed below right after. sets base text color
HIGHLIGHT = FC 02 @ same as fc 01. sets background and accent color
SHADOW = FC 03 @ same as fc 01. sets shadow color
COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 colors
PALETTE = FC 05 @ used in credits
FONT = FC 06 @ Given a font id, or use font constants below instead
RESET_FONT = FC 07
@ -460,6 +461,9 @@ ENG = FC 16
PAUSE_MUSIC = FC 17
RESUME_MUSIC = FC 18
SPEAKER = FC 19
ACCENT = FC 1A @ same as FC 01. sets accent color
BACKGROUND = FC 1B @ same as FC 01. sets background color
TEXT_COLORS = FC 1C @ takes 3 colors: text base color, shadow and accent
@ Speaker names, the order must be matching with include/constants/speaker_names.h
NAME_NONE = 00
@ -479,6 +483,9 @@ FONT_SMALL_NARROWER = FC 06 0B
FONT_SHORT_NARROW = FC 06 0C
FONT_SHORT_NARROWER = FC 06 0D
FONT_MALE = FC 06 01
FONT_FEMALE = FC 06 01
@ colors
TRANSPARENT = 00

View File

@ -1,3 +1,2 @@
.include "constants/gba_constants.inc"
.include "constants/global.inc"
.include "constants/tms_hms.inc"

View File

@ -181,7 +181,7 @@
struct_field o_MusicPlayerTrack_ToneData_sustain, 1
struct_field o_MusicPlayerTrack_ToneData_release, 1
struct_field o_MusicPlayerTrack_gap, 10
struct_field o_MusicPlayerTrack_unk_3A, 2
struct_field o_MusicPlayerTrack_timer, 2
struct_field o_MusicPlayerTrack_unk_3C, 4
struct_field o_MusicPlayerTrack_cmdPtr, 4
struct_field o_MusicPlayerTrack_patternStack, 12

View File

@ -1,22 +0,0 @@
#ifndef GUARD_CONSTANTS_TMS_HMS_INC
#define GUARD_CONSTANTS_TMS_HMS_INC
#include "constants/tms_hms.h"
/* Expands to:
* enum_start ITEM_TM01
* enum ITEM_TM_FOCUS_PUNCH
* ...
* enum_start ITEM_HM01
* enum ITEM_HM_CUT
* ... */
#define EQUIV_TM(id) enum ITEM_TM_ ## id;
#define EQUIV_HM(id) enum ITEM_HM_ ## id;
enum_start ITEM_TM01
FOREACH_TM(EQUIV_TM)
enum_start ITEM_HM01
FOREACH_HM(EQUIV_HM)
#undef EQUIV_TM
#undef EQUIV_HM
#endif @ GUARD_CONSTANTS_TMS_HMS_INC

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
#include "config/battle.h"
#include "constants/global.h"
#include "constants/battle.h"
#include "constants/battle_script_commands.h"
#include "constants/battle_anim.h"
@ -33,6 +34,8 @@ gBattlescriptsForSafariActions::
.4byte BattleScript_ActionGetNear
.4byte BattleScript_ActionThrowPokeblock
.4byte BattleScript_ActionWallyThrow
.4byte BattleScript_ActionThrowRock
.4byte BattleScript_ActionThrowBait
BattleScript_ItemEnd:
end
@ -81,6 +84,7 @@ BattleScript_ItemRestoreHP_SendOutRevivedBattler:
switchinanim BS_SCRIPTING, FALSE, FALSE
waitstate
switchineffects BS_SCRIPTING
switchinevents
end
BattleScript_ItemCureStatus::
@ -147,6 +151,7 @@ BattleScript_ItemSetMist::
BattleScript_ItemSetFocusEnergy::
call BattleScript_UseItemMessage
itemincreasestat
jumpifvolatile BS_ATTACKER, VOLATILE_DRAGON_CHEER, BattleScript_ButItFailed
jumpifvolatile BS_ATTACKER, VOLATILE_FOCUS_ENERGY, BattleScript_ButItFailed
setfocusenergy BS_ATTACKER
@ -166,11 +171,12 @@ BattleScript_ItemRestorePP::
BattleScript_ItemIncreaseAllStats::
call BattleScript_UseItemMessage
itemincreasestat
call BattleScript_AllStatsUp
end
BattleScript_BallThrow::
jumpifword CMP_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_WALLY_TUTORIAL, BattleScript_BallThrowByWally
jumpifword CMP_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_CATCH_TUTORIAL, BattleScript_BallThrowByWally
printstring STRINGID_PLAYERUSEDITEM
handleballthrow
@ -246,8 +252,11 @@ BattleScript_RunByUsingItem::
finishturn
BattleScript_ActionWatchesCarefully:
printstring STRINGID_PKMNWATCHINGCAREFULLY
printfromtable gSafariReactionStringIds
waitmessage B_WAIT_TIME_LONG
#if IS_FRLG
playanimation BS_OPPONENT1, B_ANIM_SAFARI_REACTION
#endif
end2
BattleScript_ActionGetNear:
@ -299,3 +308,34 @@ BattleScript_TrainerBSlideMsgRet::
BattleScript_TrainerBSlideMsgEnd2::
call BattleScript_TrainerBSlideMsgRet
end2
BattleScript_TrainerPartnerSlideMsgRet::
trainerslidein BS_PLAYER2
handletrainerslidemsg BS_SCRIPTING, PRINT_SLIDE_MESSAGE
waitstate
trainerslideout BS_PLAYER2
waitstate
handletrainerslidemsg BS_SCRIPTING, RESTORE_BATTLER_SLIDE_CONTROL
return
BattleScript_TrainerPartnerSlideMsgEnd2::
call BattleScript_TrainerPartnerSlideMsgRet
end2
BattleScript_GhostBallDodge::
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_ITDODGEDBALL
waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_ActionThrowRock::
printstring STRINGID_THREWROCK
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_ROCK_THROW
end2
BattleScript_ActionThrowBait::
printstring STRINGID_THREWBAIT
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_POKEBLOCK_THROW
end2

View File

@ -13,6 +13,7 @@
#include "constants/battle_pike.h"
#include "constants/battle_pyramid.h"
#include "constants/battle_setup.h"
#include "constants/battle_special.h"
#include "constants/battle_tent.h"
#include "constants/battle_tower.h"
#include "constants/berry.h"
@ -25,6 +26,7 @@
#include "constants/easy_chat.h"
#include "constants/event_objects.h"
#include "constants/event_object_movement.h"
#include "constants/fame_checker.h"
#include "constants/field_effects.h"
#include "constants/field_move.h"
#include "constants/field_poison.h"
@ -46,12 +48,15 @@
#include "constants/metatile_labels.h"
#include "constants/move_relearner.h"
#include "constants/moves.h"
#include "constants/mystery_gift.h"
#include "constants/party_menu.h"
#include "constants/pokeball.h"
#include "constants/pokedex.h"
#include "constants/pokemon.h"
#include "constants/rtc.h"
#include "constants/roulette.h"
#include "constants/script_menu.h"
#include "constants/seagallop.h"
#include "constants/secret_bases.h"
#include "constants/siirtc.h"
#include "constants/songs.h"
@ -59,7 +64,9 @@
#include "constants/species.h"
#include "constants/trade.h"
#include "constants/trainer_hill.h"
#include "constants/trainer_tower.h"
#include "constants/trainers.h"
#include "constants/trainer_card.h"
#include "constants/tv.h"
#include "constants/union_room.h"
#include "constants/vars.h"
@ -74,6 +81,7 @@
.set ALLOCATE_SCRIPT_CMD_TABLE, 1
.include "data/script_cmd_table.inc"
.align 2
gSpecialVars::
.4byte gSpecialVar_0x8000
.4byte gSpecialVar_0x8001
@ -112,8 +120,11 @@ gStdScripts::
.4byte Std_RegisteredInMatchCall @ STD_REGISTER_MATCH_CALL
.4byte Std_MsgboxGetPoints @ MSGBOX_GETPOINTS
.4byte Std_MsgboxPokenav @ MSGBOX_POKENAV
.4byte Std_PutItemAway @ STD_PUT_ITEM_AWAY
.4byte Std_ReceivedItem @ STD_RECEIVED_ITEM
gStdScripts_End::
.include "data/maps/PetalburgCity/scripts.inc"
.include "data/maps/SlateportCity/scripts.inc"
.include "data/maps/MauvilleCity/scripts.inc"
@ -584,10 +595,460 @@ gStdScripts_End::
.include "data/maps/Route119_House/scripts.inc"
.include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc"
.if IS_FRLG
@ FRLG scripts
.include "data/maps/BattleColosseum_2P_Frlg/scripts.inc"
.include "data/maps/TradeCenter_Frlg/scripts.inc"
.include "data/maps/RecordCorner_Frlg/scripts.inc"
.include "data/maps/BattleColosseum_4P_Frlg/scripts.inc"
.include "data/maps/UnionRoom_Frlg/scripts.inc"
.include "data/maps/ViridianForest_Frlg/scripts.inc"
.include "data/maps/MtMoon_1F_Frlg/scripts.inc"
.include "data/maps/MtMoon_B1F_Frlg/scripts.inc"
.include "data/maps/MtMoon_B2F_Frlg/scripts.inc"
.include "data/maps/SSAnne_Exterior_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_3F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_Deck_Frlg/scripts.inc"
.include "data/maps/SSAnne_Kitchen_Frlg/scripts.inc"
.include "data/maps/SSAnne_CaptainsOffice_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room7_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room6_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room6_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_NorthSouthTunnel_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_WestEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_EastWestTunnel_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_EastEntrance_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_B1F_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_1F_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_2F_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_3F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B1F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B2F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B3F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B4F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_Elevator_Frlg/scripts.inc"
.include "data/maps/SilphCo_1F_Frlg/scripts.inc"
.include "data/maps/SilphCo_2F_Frlg/scripts.inc"
.include "data/maps/SilphCo_3F_Frlg/scripts.inc"
.include "data/maps/SilphCo_4F_Frlg/scripts.inc"
.include "data/maps/SilphCo_5F_Frlg/scripts.inc"
.include "data/maps/SilphCo_6F_Frlg/scripts.inc"
.include "data/maps/SilphCo_7F_Frlg/scripts.inc"
.include "data/maps/SilphCo_8F_Frlg/scripts.inc"
.include "data/maps/SilphCo_9F_Frlg/scripts.inc"
.include "data/maps/SilphCo_10F_Frlg/scripts.inc"
.include "data/maps/SilphCo_11F_Frlg/scripts.inc"
.include "data/maps/SilphCo_Elevator_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_1F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_2F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_3F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_B1F_Frlg/scripts.inc"
.include "data/maps/SafariZone_Center_Frlg/scripts.inc"
.include "data/maps/SafariZone_East_Frlg/scripts.inc"
.include "data/maps/SafariZone_North_Frlg/scripts.inc"
.include "data/maps/SafariZone_West_Frlg/scripts.inc"
.include "data/maps/SafariZone_Center_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_East_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_North_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_West_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_SecretHouse_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_1F_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_2F_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_B1F_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_LoreleisRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_BrunosRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_AgathasRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_LancesRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_ChampionsRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_HallOfFame_Frlg/scripts.inc"
.include "data/maps/RockTunnel_1F_Frlg/scripts.inc"
.include "data/maps/RockTunnel_B1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B2F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B3F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B4F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_1F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_2F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_3F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_4F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_5F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_6F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_7F_Frlg/scripts.inc"
.include "data/maps/PowerPlant_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B4F_Frlg/scripts.inc"
.include "data/maps/MtEmber_Exterior_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_2F_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_3F_Frlg/scripts.inc"
.include "data/maps/MtEmber_Summit_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B5F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B2F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B3F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B1F_Stairs_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B2F_Stairs_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_BerryForest_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_Entrance_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_B1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_Back_Frlg/scripts.inc"
.include "data/maps/FiveIsland_RocketWarehouse_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B2F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B3F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B4F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_SapphireRoom_Frlg/scripts.inc"
.include "data/maps/SixIsland_PatternBush_Frlg/scripts.inc"
.include "data/maps/SixIsland_AlteringCave_Frlg/scripts.inc"
.include "data/maps/NavelRock_Exterior_Frlg/scripts.inc"
.include "data/maps/TrainerTower_1F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_2F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_3F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_4F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_5F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_6F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_7F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_8F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Roof_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Lobby_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Elevator_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Entrance_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room1_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room2_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room3_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room4_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room5_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room6_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room7_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room8_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room9_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room10_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room11_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room12_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room13_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room14_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_MoneanChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_LiptooChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_WeepthChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_DilfordChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_ScufibChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_RixyChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_ViapoisChamber_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_DunsparceTunnel_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_TanobyKey_Frlg/scripts.inc"
.include "data/maps/NavelRock_1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_Summit_Frlg/scripts.inc"
.include "data/maps/NavelRock_Base_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_2F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_3F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_4F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_5F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B2F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B3F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B4F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B5F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B6F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B7F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B8F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B9F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B10F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B11F_Frlg/scripts.inc"
.include "data/maps/NavelRock_B1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_Fork_Frlg/scripts.inc"
.include "data/maps/BirthIsland_Exterior_Frlg/scripts.inc"
.include "data/maps/OneIsland_KindleRoad_EmberSpa_Frlg/scripts.inc"
.include "data/maps/BirthIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/NavelRock_Harbor_Frlg/scripts.inc"
.include "data/maps/PalletTown_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Frlg/scripts.inc"
.include "data/maps/PewterCity_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Frlg/scripts.inc"
.include "data/maps/LavenderTown_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_Exterior_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Connection_Frlg/scripts.inc"
.include "data/maps/OneIsland_Frlg/scripts.inc"
.include "data/maps/TwoIsland_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Frlg/scripts.inc"
.include "data/maps/FourIsland_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Frlg/scripts.inc"
.include "data/maps/SixIsland_Frlg/scripts.inc"
.include "data/maps/Route1_Frlg/scripts.inc"
.include "data/maps/Route2_Frlg/scripts.inc"
.include "data/maps/Route3_Frlg/scripts.inc"
.include "data/maps/Route4_Frlg/scripts.inc"
.include "data/maps/Route5_Frlg/scripts.inc"
.include "data/maps/Route6_Frlg/scripts.inc"
.include "data/maps/Route7_Frlg/scripts.inc"
.include "data/maps/Route8_Frlg/scripts.inc"
.include "data/maps/Route9_Frlg/scripts.inc"
.include "data/maps/Route10_Frlg/scripts.inc"
.include "data/maps/Route11_Frlg/scripts.inc"
.include "data/maps/Route12_Frlg/scripts.inc"
.include "data/maps/Route13_Frlg/scripts.inc"
.include "data/maps/Route14_Frlg/scripts.inc"
.include "data/maps/Route15_Frlg/scripts.inc"
.include "data/maps/Route16_Frlg/scripts.inc"
.include "data/maps/Route17_Frlg/scripts.inc"
.include "data/maps/Route18_Frlg/scripts.inc"
.include "data/maps/Route19_Frlg/scripts.inc"
.include "data/maps/Route20_Frlg/scripts.inc"
.include "data/maps/Route21_North_Frlg/scripts.inc"
.include "data/maps/Route21_South_Frlg/scripts.inc"
.include "data/maps/Route22_Frlg/scripts.inc"
.include "data/maps/Route23_Frlg/scripts.inc"
.include "data/maps/Route24_Frlg/scripts.inc"
.include "data/maps/Route25_Frlg/scripts.inc"
.include "data/maps/OneIsland_KindleRoad_Frlg/scripts.inc"
.include "data/maps/OneIsland_TreasureBeach_Frlg/scripts.inc"
.include "data/maps/TwoIsland_CapeBrink_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_BondBridge_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Port_Frlg/scripts.inc"
.include "data/maps/FiveIsland_ResortGorgeous_Frlg/scripts.inc"
.include "data/maps/FiveIsland_WaterLabyrinth_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Meadow_Frlg/scripts.inc"
.include "data/maps/FiveIsland_MemorialPillar_Frlg/scripts.inc"
.include "data/maps/SixIsland_OutcastIsland_Frlg/scripts.inc"
.include "data/maps/SixIsland_GreenPath_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_Frlg/scripts.inc"
.include "data/maps/SixIsland_RuinValley_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TrainerTower_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_Entrance_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_Frlg/scripts.inc"
.include "data/maps/PalletTown_PlayersHouse_1F_Frlg/scripts.inc"
.include "data/maps/PalletTown_PlayersHouse_2F_Frlg/scripts.inc"
.include "data/maps/PalletTown_RivalsHouse_Frlg/scripts.inc"
.include "data/maps/PalletTown_ProfessorOaksLab_Frlg/scripts.inc"
.include "data/maps/ViridianCity_House_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Gym_Frlg/scripts.inc"
.include "data/maps/ViridianCity_School_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Mart_Frlg/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Museum_1F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Museum_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Gym_Frlg/scripts.inc"
.include "data/maps/PewterCity_Mart_Frlg/scripts.inc"
.include "data/maps/PewterCity_House1_Frlg/scripts.inc"
.include "data/maps/PewterCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/PewterCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_House2_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House1_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House2_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House3_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Gym_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_BikeShop_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Mart_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House4_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House5_Frlg/scripts.inc"
.include "data/maps/LavenderTown_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/LavenderTown_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/LavenderTown_VolunteerPokemonHouse_Frlg/scripts.inc"
.include "data/maps/LavenderTown_House1_Frlg/scripts.inc"
.include "data/maps/LavenderTown_House2_Frlg/scripts.inc"
.include "data/maps/LavenderTown_Mart_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House1_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonFanClub_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House2_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Mart_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Gym_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House3_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_3F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_4F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_5F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_Roof_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_Elevator_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_3F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_Roof_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_RoofRoom_Frlg/scripts.inc"
.include "data/maps/CeladonCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_GameCorner_Frlg/scripts.inc"
.include "data/maps/CeladonCity_GameCorner_PrizeRoom_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Gym_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Restaurant_Frlg/scripts.inc"
.include "data/maps/CeladonCity_House1_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Hotel_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Mart_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Office_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Gym_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House1_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_WardensHouse_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House2_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House3_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Gym_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_Entrance_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_Lounge_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_ResearchRoom_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_ExperimentRoom_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Mart_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_CopycatsHouse_1F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_CopycatsHouse_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Dojo_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Gym_Frlg/scripts.inc"
.include "data/maps/SaffronCity_House_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Mart_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_MrPsychicsHouse_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonTrainerFanClub_Frlg/scripts.inc"
.include "data/maps/Route2_ViridianForest_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/Route2_House_Frlg/scripts.inc"
.include "data/maps/Route2_EastBuilding_Frlg/scripts.inc"
.include "data/maps/Route2_ViridianForest_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route4_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/Route4_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/Route5_PokemonDayCare_Frlg/scripts.inc"
.include "data/maps/Route5_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/Route6_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route6_UnusedHouse_Frlg/scripts.inc"
.include "data/maps/Route7_EastEntrance_Frlg/scripts.inc"
.include "data/maps/Route8_WestEntrance_Frlg/scripts.inc"
.include "data/maps/Route10_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/Route10_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/Route11_EastEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route11_EastEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route12_NorthEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route12_NorthEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route12_FishingHouse_Frlg/scripts.inc"
.include "data/maps/Route15_WestEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route15_WestEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route16_House_Frlg/scripts.inc"
.include "data/maps/Route16_NorthEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route16_NorthEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route18_EastEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route18_EastEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route22_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route25_SeaCottage_Frlg/scripts.inc"
.include "data/maps/SevenIsland_House_Room1_Frlg/scripts.inc"
.include "data/maps/SevenIsland_House_Room2_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Mart_Frlg/scripts.inc"
.include "data/maps/SevenIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SevenIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/OneIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/OneIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/OneIsland_House1_Frlg/scripts.inc"
.include "data/maps/OneIsland_House2_Frlg/scripts.inc"
.include "data/maps/OneIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/TwoIsland_JoyfulGameCorner_Frlg/scripts.inc"
.include "data/maps/TwoIsland_House_Frlg/scripts.inc"
.include "data/maps/TwoIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/TwoIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/TwoIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House1_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Mart_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House2_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House3_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House4_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House5_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonDayCare_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FourIsland_House1_Frlg/scripts.inc"
.include "data/maps/FourIsland_LoreleisHouse_Frlg/scripts.inc"
.include "data/maps/FourIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FourIsland_House2_Frlg/scripts.inc"
.include "data/maps/FourIsland_Mart_Frlg/scripts.inc"
.include "data/maps/FiveIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FiveIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FiveIsland_House1_Frlg/scripts.inc"
.include "data/maps/FiveIsland_House2_Frlg/scripts.inc"
.include "data/maps/SixIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SixIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/SixIsland_House_Frlg/scripts.inc"
.include "data/maps/SixIsland_Mart_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FiveIsland_ResortGorgeous_House_Frlg/scripts.inc"
.include "data/maps/TwoIsland_CapeBrink_House_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_House1_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_House2_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_House_Frlg/scripts.inc"
.include "data/scripts/trainer_tower.inc"
.include "data/scripts/fame_checker_frlg.inc"
.include "data/text/fame_checker_frlg.inc"
.include "data/scripts/item_ball_scripts_frlg.inc"
.include "data/scripts/silphco_doors.inc"
.include "data/scripts/move_tutors_frlg.inc"
.include "data/scripts/cable_club_frlg.inc"
.include "data/scripts/trainer_card_frlg.inc"
.include "data/text/trainer_card_frlg.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/scripts/day_care_frlg.inc"
.include "data/text/day_care_frlg.inc"
.include "data/scripts/seagallop.inc"
.include "data/scripts/static_pokemon.inc"
.include "data/scripts/aide.inc"
.include "data/scripts/pokemon_mansion.inc"
.include "data/scripts/pokemon_league.inc"
.include "data/scripts/route23.inc"
.include "data/text/new_game_intro_frlg.inc"
.include "data/scripts/trainers_frlg.inc"
.include "data/text/trainers_frlg.inc"
.include "data/text/ingame_trade_frlg.inc"
.include "data/scripts/flavor_text.inc"
.include "data/scripts/pkmn_center_nurse_frlg.inc"
.endif
.include "data/scripts/std_msgbox.inc"
.include "data/scripts/trainer_battle.inc"
.include "data/scripts/new_game.inc"
.include "data/scripts/hall_of_fame.inc"
.include "data/scripts/hall_of_fame_frlg.inc"
.include "data/scripts/config.inc"
.include "data/scripts/debug.inc"
@ -601,7 +1062,7 @@ EventScript_AfterWhiteOutHeal::
lockall
msgbox gText_FirstShouldRestoreMonsHealth
call EventScript_PkmnCenterNurse_TakeAndHealPkmn
call_if_unset FLAG_DEFEATED_RUSTBORO_GYM, EventScript_AfterWhiteOutHealMsgPreRoxanne
call_if_unset FLAG_DEFEATED_RUSTBORO_GYM, EventScript_AfterWhiteOutHealMsgPreFirstBoss
call_if_set FLAG_DEFEATED_RUSTBORO_GYM, EventScript_AfterWhiteOutHealMsg
applymovement VAR_LAST_TALKED, Movement_PkmnCenterNurse_Bow
waitmovement 0
@ -609,7 +1070,7 @@ EventScript_AfterWhiteOutHeal::
releaseall
end
EventScript_AfterWhiteOutHealMsgPreRoxanne::
EventScript_AfterWhiteOutHealMsgPreFirstBoss::
msgbox gText_MonsHealedShouldBuyPotions
return
@ -619,6 +1080,7 @@ EventScript_AfterWhiteOutHealMsg::
EventScript_AfterWhiteOutMomHeal::
lockall
textcolor NPC_TEXT_COLOR_FEMALE
applymovement LOCALID_PLAYERS_HOUSE_1F_MOM, Common_Movement_WalkInPlaceFasterDown
waitmovement 0
msgbox gText_HadQuiteAnExperienceTakeRest
@ -749,6 +1211,12 @@ Common_EventScript_BagIsFull::
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
return
EventScript_BagIsFull::
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox gText_TooBadBagIsFull
release
end
Common_EventScript_ShowNoRoomForDecor::
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
release
@ -965,7 +1433,7 @@ gText_HadQuiteAnExperienceTakeRest::
gText_MomExplainHPGetPotions::
.string "MOM: Oh, good! You and your\n"
.string "POKéMON are looking great.\p"
.string "I just heard from PROF. BIRCH.\p"
.string "I just heard from {STR_VAR_1}.\p"
.string "He said that POKéMON's energy is\n"
.string "measured in HP.\p"
.string "If your POKéMON lose their HP,\n"
@ -1051,10 +1519,37 @@ gText_Sudowoodo_Attacked::
gText_LegendaryFlewAway::
.string "The {STR_VAR_1} flew away!$"
gText_WantWhichFloor::
.string "Which floor do you want?$"
.include "data/text/pc_transfer.inc"
.include "data/text/questionnaire.inc"
.include "data/text/abnormal_weather.inc"
EventScript_GetInGameTradeSpeciesInfo::
copyvar VAR_0x8005, VAR_0x8008
specialvar VAR_0x8009, GetInGameTradeSpeciesInfo
return
EventScript_ChooseMonForInGameTrade::
special ChoosePartyMon
waitstate
lock
faceplayer
return
EventScript_GetInGameTradeSpecies::
specialvar VAR_RESULT, GetTradeSpecies
return
EventScript_DoInGameTrade::
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
lock
faceplayer
return
EventScript_SelectWithoutRegisteredItem::
msgbox gText_SelectWithoutRegisteredItem, MSGBOX_SIGN
end
@ -1064,6 +1559,18 @@ EventScript_SelectWithoutRegisteredItem::
Common_EventScript_NopReturn::
return
EventScript_SetResultTrue::
setvar VAR_RESULT, TRUE
return
EventScript_SetResultFalse::
setvar VAR_RESULT, FALSE
return
EventScript_GetElevatorFloor::
special GetElevatorFloor
return
@ Unused
EventScript_CableClub_SetVarResult1::
setvar VAR_RESULT, 1
@ -1074,15 +1581,27 @@ EventScript_CableClub_SetVarResult0::
return
Common_EventScript_UnionRoomAttendant::
#if IS_FRLG
call CableClub_EventScript_UnionRoomAttendant_Frlg
#else
call CableClub_EventScript_UnionRoomAttendant
#endif
end
Common_EventScript_WirelessClubAttendant::
#if IS_FRLG
call CableClub_EventScript_WirelessClubAttendant_Frlg
#else
call CableClub_EventScript_WirelessClubAttendant
#endif
end
Common_EventScript_DirectCornerAttendant::
#if IS_FRLG
call CableClub_EventScript_DirectCornerAttendant_Frlg
#else
call CableClub_EventScript_DirectCornerAttendant
#endif
end
Common_EventScript_RemoveStaticPokemon::
@ -1108,6 +1627,62 @@ EventScript_VsSeekerChargingDone::
releaseall
end
@ FRLG scripts
EventScript_SetExitingCyclingRoad::
lockall
clearflag FLAG_SYS_ON_CYCLING_ROAD
setvar VAR_MAP_SCENE_ROUTE16, 0
releaseall
end
EventScript_SetEnteringCyclingRoad::
lockall
setvar VAR_MAP_SCENE_ROUTE16, 1
releaseall
end
EventScript_TryDarkenRuins::
goto_if_set FLAG_SYS_UNLOCKED_TANOBY_RUINS, Common_EventScript_NopReturn
setweather WEATHER_SHADE
doweather
return
Text_MonFlewAway::
.string "The {STR_VAR_1} flew away!$"
@ Call for legendary bird trio
Text_Gyaoo::
.string "Gyaoo!$"
EventScript_BrailleCursorWaitButton::
special BrailleCursorToggle
waitbuttonpress
closebraillemessage
playse SE_SELECT
setvar VAR_0x8006, 1
special BrailleCursorToggle
return
EventScript_PalletTown_PlayersHouse_2F_ShutDownPC::
setvar VAR_0x8004, PC_LOCATION_PLAYER_HOUSE_FRLG
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
EventScript_PalletTown_PlayersHouse_2F_TurnOnPC::
lockall
setvar VAR_0x8004, PC_LOCATION_PLAYER_HOUSE_FRLG
special DoPCTurnOnEffect
playse SE_PC_ON
msgbox gText_PlayerHouseBootPC
special BedroomPC
waitstate
releaseall
end
.include "data/scripts/pc_transfer.inc"
.include "data/scripts/questionnaire.inc"
.include "data/scripts/abnormal_weather.inc"
@ -1135,6 +1710,7 @@ EventScript_VsSeekerChargingDone::
.include "data/scripts/repel.inc"
.include "data/scripts/safari_zone.inc"
.include "data/scripts/roulette.inc"
.include "data/scripts/pokedex_rating.inc"
.include "data/text/pokedex_rating.inc"
.include "data/text/lottery_corner.inc"
.include "data/text/event_ticket_1.inc"
@ -1147,7 +1723,6 @@ EventScript_VsSeekerChargingDone::
.include "data/text/match_call.inc"
.include "data/scripts/apprentice.inc"
.include "data/text/apprentice.inc"
.include "data/text/battle_dome.inc"
.include "data/scripts/battle_pike.inc"
.include "data/text/blend_master.inc"
.include "data/text/battle_tent.inc"

View File

@ -84,6 +84,9 @@ gFieldEffectScriptPointers::
.4byte gFieldEffectScript_UseRockClimb @ FLDEFF_USE_ROCK_CLIMB
.4byte gFieldEffectScript_RockClimbDust @ FLDEFF_ROCK_CLIMB_DUST
.4byte gFieldEffectScript_ORASDowse @ FLDEFF_ORAS_DOWSE
.4byte gFldEffScript_SmileyFaceIcon @ FLDEFF_SMILEY_FACE_ICON
.4byte gFieldEffectScript_HallOfFameRecordFrlg @ FLDEFF_HALL_OF_FAME_RECORD_FRLG
.4byte gFldEffScript_PhotoFlash @ FLDEFF_PHOTO_FLASH
gFieldEffectScript_ExclamationMarkIcon1::
field_eff_callnative FldEff_ExclamationMarkIcon
@ -385,8 +388,8 @@ gFieldEffectScript_CaveDust::
field_eff_end
gFieldEffectScript_Defog::
field_eff_callnative FldEff_Defog
field_eff_end
field_eff_callnative FldEff_Defog
field_eff_end
gFieldEffectScript_UseRockClimb:: @ 82DBC3F
field_eff_callnative FldEff_UseRockClimb
@ -399,4 +402,16 @@ gFieldEffectScript_RockClimbDust:: @ 82DBB28
gFieldEffectScript_ORASDowse::
field_eff_callnative FldEff_ORASDowsing
field_eff_end
gFldEffScript_SmileyFaceIcon::
field_eff_callnative FldEff_SmileyFaceIcon
field_eff_end
gFieldEffectScript_HallOfFameRecordFrlg::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_HofMonitor_Frlg, FldEff_HallOfFameRecord
field_eff_end
gFldEffScript_PhotoFlash::
field_eff_callnative FldEff_PhotoFlash
field_eff_end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More