Eduardo Quezada
a200fe1590
Read separate palettes and apply it to Gen 1-3
2024-04-21 10:20:23 -04:00
Eduardo Quezada
3d9c7732f6
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/merrpFollowers
...
# Conflicts:
# include/event_object_movement.h
# src/data.c
# src/data/graphics/pokemon.h
# src/data/pokemon/species_info/gen_4_families.h
2024-04-20 13:23:14 -04:00
Eduardo Quezada
5a276dcbbf
Merge branch '_RHH/master' into _RHH/upcoming
2024-04-15 18:29:06 -04:00
Bassoonian
e8890bc8f3
Fix teachable learnsets crashing in some environments ( #4389 )
2024-04-15 15:57:42 -04:00
Eduardo Quezada
d8072795db
Fixed trainerproc skipping numbers when writing species IDs ( #4366 )
...
Credit for MGriffin for the fix
2024-04-07 15:10:29 +01:00
Martin Griffin
8bd5ac2e7a
Competitive-formatted parties ( #3545 )
...
$ python3 migration_scripts/convert_parties.py src/data/trainers.h src/data/trainer_parties.h src/data/npc_trainers.party
Is available to convert Trainer Control-formatted trainers/parties into
Competitive-formatted ones.
Multiple '#include's can be placed in the trainer section of src/data.c
to support spreading the trainers across multiple .party files.
trainerproc does not interpret the values, leaving that job to the C
compiler, so we use '#line' to associate those errors with the lines in
the .party file(s). Because the columns don't make sense we use
-fno-show-column and -fno-diagostics-show-caret. We might want to move
gTrainers into its own file so that the rest of src/data.c isn't
affected by those flags.
Extensions (misfeatures, imo):
- .party files are passed through cpp, so '#define's are supported, and so
are '// ...' and '/* ... */' comments.
- .party files also support writing, e.g. 'SPECIES_PIKACHU' instead of
'Pikachu'. This allows people to write constants explicitly if they
like.
Pragmas:
- '#pragma trainerproc ivs explicit' requires an explicit 'IVs:' line
rather than defaulting to 31s.
- '#pragma trainerproc ivs <IVs>' changes the default IVs.
- '#pragma trainerproc level explicit' requires an explicit 'Level:'
line rather than defaulting to 100.
- '#pragma trainerproc level <level>' changes the default level.
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-04-06 15:05:15 -03:00
Eduardo Quezada
502a56efd1
Merge branch '_RHH/upcoming' into _RHH/pr/upcoming/merrpFollowers
...
# Conflicts:
# include/global.h
# src/data.c
# src/data/pokemon/species_info/gen_7.h
2024-02-13 20:35:05 -03:00
Eduardo Quezada
ec83b11354
Merge branch '_pret/master' into _RHH/pr/upcoming/pret_20240210
...
# Conflicts:
# gflib/malloc.c
2024-02-10 18:05:20 -03:00
Eduardo Quezada D'Ottone
ce97984d80
Updated teacheable learnests to Indigo Disk data ( #4155 )
...
* Updated teacheable learnests to Indigo Disk data
* Adjusted titles to indicate where to modify the moves
2024-02-08 17:27:26 +01:00
Bassoonian
5d5cc76a2c
Teachable learnset helper mechanics ( #3856 )
...
* Teachable learnset helper mechanics
* Rename folder and python script
* Some teachable learnset work
* Update PoryMoves file labels
* Add header and make custom json
* Include found moves in output file
* Update SV file to latest version
* Don't run if there are no jsons to be found
* Add Basculin duplication in json
* Add universal move support to
* Ignore and skip Mew
* Integrate tool in Makefile
* Condense Basculin learnsets
* Split Oinkologne for easier generation
* Add Deoxys' XD move tutor data
* Add missing Darumaka/Yamask Galarian SwSh TMs
* Add TID species to sv.json
* Update sv.json to The Indigo Disk data
* Add Python install instructions
* Fix Makefile
* Expand header with more information
* Add config to allow disabling the learnset helper
* Update include/config/pokemon.h
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
* Don't crash if the config is missing
---------
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
2024-02-08 11:32:48 -03:00
Eduardo Quezada
09d12fb154
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# ld_script_modern.ld
# src/battle_ai_switch_items.c
2024-02-01 12:52:31 -03:00
Eduardo Quezada D'Ottone
a2a38a57e0
Added passing "KNOWN_FAILING" to test summary ( #4063 )
...
* Added passing "KNOWN_FAILING" to test summary
* Added test names for passing KNOWN_FAILING to summary
* Removed unused function
2024-01-29 17:01:50 -03:00
GriffinR
232eab4bee
Merge pull request #1975 from Sierraffinity/jsonproc-fix
...
jsonproc: filter out every non-alphanumeric character
2024-01-28 13:54:11 -05:00
Sierraffinity
b98e044ce9
jsonproc: filter out every non-alphanumeric character
2024-01-27 19:29:29 -08:00
Sierraffinity
e85750bb55
gbagfx bit depth upconversion fix
2024-01-27 14:29:31 -08:00
Eduardo Quezada
5d372b5f8a
Merge remote-tracking branch 'merrp_origin/followers-expanded-id' into _RHH/pr/upcoming/merrpFollowers
...
# Conflicts:
# README.md
# gflib/sprite.c
# graphics/object_events/pics/pokemon/togetic.png
# src/data/object_events/object_event_graphics.h
# src/data/object_events/object_event_graphics_info.h
# src/data/object_events/object_event_graphics_info_followers.h
# src/event_object_movement.c
# src/field_effect_helpers.c
2024-01-18 08:12:09 -03:00
Ariel A
85aab338a9
Merge branch 'guillotine' into guillotine-expansion
2024-01-08 19:43:06 -05:00
Ariel A
1ce961768e
Added automatic runtime decapitalization.
2024-01-07 20:21:14 -05:00
Ariel A
398a9ee8fa
Merge branch 'followers' into followers-expanded-id
2023-12-31 01:49:56 -05:00
Ariel A
dcaaac92d9
Added support for compressed OW graphics.
...
Added CpuSmartCopy macros (Credit: luckytyphlosion)
2023-12-31 00:35:27 -05:00
Icedude907
4b2054c3ea
Parallel SCANINC via .d
generation.
...
Secondary expansion is redundant.
2023-11-12 16:38:32 +13:00
Icedude907
7fa9819d9a
Makefile uses make_tools, mapjson takes out dir.
...
Removed generated files (layouts.h, map_groups.h) from git.
2023-11-12 00:53:34 +13:00
kittenchilly
333523e5f7
Remove all leading whitespace
2023-10-23 13:24:38 -05:00
Martin Griffin
ef1c60de67
Buffer 'GBA: '-prefixed messages
...
TODO: Detect illegal opcodes in the test runner because mgba-rom-test
evaluates them very slowly, making the TIMEOUT mechanism effectively
realtime.
2023-10-23 07:47:13 +01:00
Eduardo Quezada
0d5b00aaf2
Merge remote-tracking branch 'pret/master' into RHH/pr/upcoming/pret_20230829
...
# Conflicts:
# README.md
# data/battle_ai_scripts.s
# data/battle_scripts_1.s
# data/maps/BattleFrontier_Lounge7/scripts.inc
# include/battle_anim.h
# include/battle_message.h
# include/constants/items.h
# src/battle_ai_script_commands.c
# src/battle_ai_switch_items.c
# src/battle_anim_throw.c
# src/battle_anim_utility_funcs.c
# src/battle_controller_link_opponent.c
# src/battle_controller_link_partner.c
# src/battle_controller_opponent.c
# src/battle_controller_player.c
# src/battle_controller_player_partner.c
# src/battle_controller_recorded_opponent.c
# src/battle_controller_recorded_player.c
# src/battle_controller_wally.c
# src/battle_gfx_sfx_util.c
# src/battle_message.c
# src/battle_script_commands.c
# src/battle_util.c
# src/data/party_menu.h
# src/data/pokemon/tmhm_learnsets.h
# src/daycare.c
# src/field_specials.c
# src/hall_of_fame.c
# src/party_menu.c
# src/pokemon.c
# src/tv.c
2023-08-31 14:28:01 -04:00
grunt-lucas
9d170c7e35
gbagfx to respect user CC setting
2023-08-22 07:37:48 -07:00
Martin Griffin
b31f10d124
Make Hydra respect -jN ( #3132 )
2023-07-14 19:10:42 +02:00
Eduardo Quezada D'Ottone
5f29ae6f99
Failed tests are now listed in the total ( #3073 )
...
* Failed tests are now listed in the total
2023-07-14 10:17:54 +01:00
Martin Griffin
72bb8b71b6
More conservative unlink error in Hydra
2023-06-22 17:17:43 +01:00
Martin Griffin
e8b2eea89d
Sensible names for temporary ROMs in Hydra
2023-06-22 17:17:41 +01:00
Martin Griffin
20aea1f32f
Print runner number in Hydra
2023-06-22 17:17:41 +01:00
Eduardo Quezada
4c57b84cd9
Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pret_20230602
...
# Conflicts:
# graphics/pokemon/mawile/footprint.png
# src/battle_gfx_sfx_util.c
# src/fldeff_sweetscent.c
# src/pokedex.c
2023-06-02 11:45:28 -04:00
Bassoonian
c05404e772
Merge branch 'master' of https://github.com/pret/pokeemerald into rhhpretmerge
2023-05-12 13:48:52 +02:00
GriffinR
6fdf75bd8c
Support plain pixel conversion, convert spinda spots to .png
2023-05-11 13:41:38 -04:00
Bassoonian
069627a7fc
Hydra OSX support
2023-05-03 15:36:17 +02:00
GriffinR
8e5347b450
Fix mapjson misreporting errors when processing map_groups.json
2023-04-30 23:29:31 -04:00
Eduardo Quezada D'Ottone
c922ff69b9
Added To-Do test results
2023-03-23 22:34:08 -03:00
Eduardo Quezada D'Ottone
dd686ee606
More detailed hydra test results ( #2722 )
2023-03-08 10:11:11 -03:00
Eduardo Quezada
9917f5cc8b
Merge remote-tracking branch 'pret/master' into RHH/sync/pret_20230303
...
# Conflicts:
# Makefile
# include/constants/pokemon.h
# include/pokemon.h
# make_tools.mk
# src/battle_ai_script_commands.c
# src/battle_controllers.c
# src/battle_main.c
# src/battle_script_commands.c
# src/party_menu.c
# src/pokemon.c
# src/trade.c
# src/trainer_pokemon_sprites.c
2023-03-03 11:00:50 -03:00
GriffinR
be84793713
Let scaninc/preproc ignore empty asm files
2023-02-27 12:47:35 -05:00
Eduardo Quezada
e3ed114754
Updated commands comment
2023-02-22 15:09:47 -03:00
Eduardo Quezada
5808e82434
Added assumption fail total, made fails into their own counter and changed "SKIP" to "ASSUMPTION_FAIIL" in log
2023-02-22 15:05:39 -03:00
Eduardo Quezada
54e388a375
More detailed hydra test results
2023-02-22 00:30:12 -03:00
Martin Griffin
f3c6b647c0
Hydra fixes and improvements ( #2718 )
...
* Build tools for check
* Display PASSes when Hydra exits
* Print buffered output at exit
* Remove unused test summaries
* Show SKIP if ASSUMPTIONS fails
2023-02-21 16:30:42 +01:00
Martin Griffin
d59e576b51
Hydra: remove tmpnam ( #2668 )
...
* Use a PID-based filename instead of tmpnam
* Use FILENAME_MAX over L_tmpnam
---------
Co-authored-by: Martin Griffin <martin.griffin@algosport.co.uk>
Co-authored-by: Philipp AUER <SBird1337@users.noreply.github.com>
2023-02-09 23:54:11 +01:00
GriffinR
c29cf5a5e5
Remove unnecessary version check
2023-02-08 13:34:38 -05:00
GriffinR
de56e400ff
Sync clone object macro
2023-02-08 13:11:10 -05:00
GriffinR
118a9701c9
Add event type errors
2023-02-08 12:52:28 -05:00
GriffinR
db5edc49d7
Sync mapjson
2023-02-08 12:52:06 -05:00
Martin Griffin
f1b9872bf0
Test moves, items, and abilities in battle
...
Thank you to SBird for providing mgba-rom-test binaries and Spikes/Toxic
Spikes tests!
Co-authored-by: sbird <sbird@no.tld>
2023-02-01 13:53:57 +00:00
Eduardo Quezada
7774c9727d
Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pret_20230125
...
# Conflicts:
# tools/mapjson/mapjson.cpp
2023-01-25 20:28:55 -03:00
Eduardo Quezada
749225ace1
Matching merge from upstream pret
...
# Conflicts:
# graphics/interface/menu_info.png
# include/pokemon.h
# src/battle_ai_switch_items.c
# src/battle_anim_mons.c
# src/battle_anim_water.c
# src/battle_controller_opponent.c
# src/battle_gfx_sfx_util.c
# src/battle_main.c
# src/battle_pike.c
# src/battle_script_commands.c
# src/data/pokemon/species_info.h
# src/pokemon.c
# src/pokemon_summary_screen.c
2023-01-20 12:31:54 -03:00
GriffinR
713e1825bd
Report JSON field names in errors
2023-01-17 16:25:33 -05:00
GriffinR
1e3b0e8d76
Treat all mapjson fields as strings
2023-01-17 16:00:09 -05:00
GriffinR
b836d9ebfb
Stop some redundant JSON reads
2023-01-17 15:40:39 -05:00
GriffinR
15431bd397
Add initial mapsjon type conversions
2023-01-17 15:25:39 -05:00
GriffinR
3ee3d6e346
Support reducing png bit depth
2023-01-11 10:11:11 -05:00
Eduardo Quezada
fbc71b3686
Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pretmerge_20221030
2022-11-03 21:46:37 -03:00
tustin2121
116364334d
Fix build of jsonproc
...
- Changing uint to unsigned int, as uint is not standard.
2022-11-02 19:51:43 -05:00
Eduardo Quezada
e4a439aa46
Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pretmerge_20221030
...
# Conflicts:
# src/data/bard_music/moves.h
# src/data/bard_music/pokemon.h
2022-10-30 12:30:38 -03:00
Marcus Huderle
ae6ec3b1b8
Change cleanString() to convert invalid chars to underscores
2022-10-22 15:09:37 -05:00
GriffinR
a418f8d976
Merge pull request #1755 from GriffinRichards/map-dynamic
...
Rename special map constants, treat warp ids as strings
2022-10-18 22:45:56 -04:00
GriffinR
e473aaf783
Merge branch 'master' of https://github.com/pret/pokeemerald into entry_json
2022-09-25 18:10:04 -04:00
Eduardo Quezada
6b79c7772c
Merge branch 'RHH/dev' into RHH/pr/pretmerge_20220909
...
# Conflicts:
# src/battle_interface.c
2022-09-16 11:56:50 -03:00
Eduardo Quezada
de32940fdf
Further removed trailing whitespaces
2022-09-13 16:26:36 -03:00
Eduardo Quezada
a462db5e69
Automated creation of MAP_GROUP_COUNT for the debug menu
2022-09-09 23:34:05 -04:00
GriffinR
36551dff2f
Treat warp ids as strings to allow constants
2022-09-03 15:43:43 -04:00
TheXaman
13cc640b78
whitspace changes, removed wrong comment
2022-09-02 18:53:51 +02:00
TheXaman
8c9a59ec1c
Merge branch 'tx_debug_system' of https://github.com/TheXaman/pokeemerald into tx_debug_system_rhh
2022-08-29 19:13:11 +02:00
Martin Griffin
5e593a62fb
Ignore num_tiles if it would truncate non-transparent tiles ( #1729 )
2022-08-18 23:07:25 -04:00
Kurausukun
2e7f50064c
use floats for tempo calculation
2022-06-28 00:11:59 -04:00
TheXaman
c54bf21b01
Merge branch 'master' of https://github.com/pret/pokeemerald into tx_debug_system
2022-04-16 23:18:35 +02:00
garakmon
3fe423a6f4
use json for region map sections
...
- update nlohmann/json and pantor/inja in tools/
- create new inja template
2022-04-04 23:32:03 -04:00
Andrea Jemmett
f8b3a1c658
Fix finding libpng in gbagfx and rsfont
...
On macOS 12, Homebrew installs libpng in a custom location.
2022-03-16 14:41:12 +01:00
GriffinR
2495d18132
Add missing :req, remove old macros
2022-01-23 18:52:04 -05:00
Kurausukun
39f493287f
one more lel
2021-12-17 23:03:09 -05:00
Kurausukun
f336acb3a9
fix indentation again
2021-12-17 23:00:03 -05:00
Kurausukun
efee1288a0
fix indentation
2021-12-17 22:56:20 -05:00
Kurausukun
0f6311b470
accept 16-bit aiff files and convert to 8-bit
2021-12-17 22:49:45 -05:00
TheXaman
2f8896f2f0
Merge branch 'master' of https://github.com/pret/pokeemerald into tx_debug_system
2021-11-18 15:13:04 +01:00
GriffinR
929aade0fd
Fix braille slash
2021-11-02 18:34:05 -04:00
GriffinR
13cd2a41f0
Better braille support
2021-10-30 16:19:10 -04:00
LOuroboros
554210c5e3
Removed trailing spaces in the most relevant files
...
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g'
Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00
luckytyphlosion
7189e4e26f
Fix build on macos.
...
Needs <cerrno> include in tools/preproc/c_file.cpp
2021-06-03 21:05:56 -04:00
luckytyphlosion
92152e45e2
Fixes to makefile.
...
Merge C_ASM_DEP and DATA_ASM_DEP, NODEP and SCAN_DEPS can be overridden, add --no-print-directory to MAKEFLAGS in make_tools.mk (also removed some unused variables), add newline to help message in preproc.
2021-06-01 23:22:15 -04:00
luckytyphlosion
f0b41debc3
Merge branch 'master' of https://github.com/pret/pokeemerald into remove-temps
2021-06-01 20:40:27 -04:00
luckytyphlosion
c723d980e7
Merge branch 'master' of https://github.com/pret/pokeemerald
2021-05-23 10:51:26 -04:00
GriffinR
65fd334256
Name map groups
2021-05-11 10:16:04 -05:00
luckytyphlosion
10c0566121
Don't keep temporary C build files by default.
2021-01-19 11:43:50 -05:00
luckytyphlosion
44bd156f26
Actually test out that it builds.
2021-01-05 20:10:43 -05:00
luckytyphlosion
a5f75b4949
Fix issue with diffs being incorrect with extreme values.
2021-01-05 19:53:41 -05:00
luckytyphlosion
8855623ad0
Fix choice of delta sign.
...
Ensure that the delta goes in the correct direction (i.e. use positive delta for prev <= sample, and negative delta for prev > sample)
2021-01-05 13:56:26 -05:00
luckytyphlosion
fb396395e9
Fix bug in pcm delta compression.
...
error wasn't being correctly calculated for when new_sample was negative and sample was positive.
2021-01-05 11:34:38 -05:00
GriffinR
ef60edd933
Remove deadnaming, sync BgEvent
2020-12-31 14:27:46 -05:00
luckytyphlosion
3d686116d8
[Round 3] Apply all source related changes for the new INSTALL.md in one commit.
2020-12-16 21:24:44 -05:00
luckytyphlosion
5a5acfb0ad
[Round 3] Revert multiple source change commits for re-commit.
2020-12-16 21:24:08 -05:00
luckytyphlosion
166183d5ed
[Round 2] Apply all source related changes for the new INSTALL.md in one commit.
2020-12-16 20:31:56 -05:00
luckytyphlosion
345aab63cf
[Round 2] Revert multiple source change commits for re-commit.
2020-12-16 20:31:10 -05:00
luckytyphlosion
936ba7f1bf
Apply all source related changes for the new INSTALL.md in one commit.
...
For people who want to have dkPless builds in their repo.
2020-12-16 15:10:01 -05:00
luckytyphlosion
cc5db41f30
Revert multiple source change commits for rebase.
2020-12-16 13:29:02 -05:00