Commit Graph

422 Commits

Author SHA1 Message Date
Seth Barberee
ef97af7d03 add more funcs to headers and clean externs 2022-02-17 18:54:59 -06:00
Seth Barberee
b2e109dab1 Move some data to src and add some more headers
- Finish moving all data for main menu to src
- Move some more data to wonder_mail
- Add some headers to clean up some externs
2022-02-17 18:54:59 -06:00
Seth Barberee
3555fb7c94
Merge pull request #96 from AnonymousRandomPerson/master
Attack AI decomp
2022-02-17 21:45:57 -08:00
AnonymousRandomPerson
ece475a480 Renamed some boolean move functions 2022-02-13 23:17:46 -05:00
AnonymousRandomPerson
2a2a0805b4 Decomped HasType() 2022-02-13 23:15:33 -05:00
AnonymousRandomPerson
3bbb6035e7 Decomped GetMoveTargetingFlagsForPokemon() 2022-02-13 22:30:25 -05:00
AnonymousRandomPerson
a02346be01 Decomped FindMoveTarget() 2022-02-13 22:02:17 -05:00
AnonymousRandomPerson
9939c543ce Decomped TargetTileInFront() 2022-02-05 22:02:03 -05:00
AnonymousRandomPerson
a9b5977d4c Decomped MoveMatchesChargingStatus 2022-02-05 20:23:01 -05:00
AnonymousRandomPerson
f728e7e90e Decomped DecideAttack() 2022-02-04 23:13:01 -05:00
Seth Barberee
1d64db5214
Merge pull request #94 from AnonymousRandomPerson/master
Dungeon movement decomp
2022-01-31 15:57:02 -08:00
AnonymousRandomPerson
5dc5b3b1f9 Used official or more common names for music tracks 2022-01-26 00:07:18 -05:00
AnonymousRandomPerson
f2457501ee Decomped IsFixedDungeon() 2022-01-25 23:24:14 -05:00
AnonymousRandomPerson
42909d0333 Decomped GetCrossableTerrain() 2022-01-25 23:17:27 -05:00
AnonymousRandomPerson
154c442505 Decomped CanMoveInDirection() 2022-01-25 22:46:40 -05:00
Seth Barberee
408fe77d7b
Merge pull request #93 from AnonymousRandomPerson/master
More AI decomp
2022-01-20 15:26:19 -08:00
AnonymousRandomPerson
c5cd6e137f Decomped IsSleeping()
-Function provided by SethBarberee.
2022-01-20 18:12:17 -05:00
AnonymousRandomPerson
74d89a6fe4 Made recruit rate signed in species data 2022-01-16 23:45:59 -05:00
AnonymousRandomPerson
afbc7deaea Decomped SetWalkAction() 2022-01-13 23:18:59 -05:00
AnonymousRandomPerson
453618864e Decomped HasStatusAffectingActions() 2022-01-13 22:56:30 -05:00
AnonymousRandomPerson
52e7368f30 Labeled CalculateFacingDir() 2022-01-08 00:08:00 -06:00
AnonymousRandomPerson
cbf41c6bf3 Decomped HasNegativeStatus() 2022-01-07 23:32:32 -06:00
Seth Barberee
3cdde2a92a
Merge pull request #92 from AnonymousRandomPerson/master
More item AI decomp
2022-01-07 16:30:55 -08:00
AnonymousRandomPerson
42bcb068b6 Decomped CanTargetAdjacentPokemon() 2022-01-07 01:45:35 -06:00
AnonymousRandomPerson
05768ae71d Decomped RoundUpFixedPoint() 2022-01-06 23:11:38 -06:00
AnonymousRandomPerson
393e6e9eb0 Fixed typo with Munchlax 2022-01-06 22:48:26 -06:00
AnonymousRandomPerson
d9b1ef43a6 Labeled Warp Scarf variables 2022-01-06 21:52:23 -06:00
AnonymousRandomPerson
2fa42b2987 Moved some constants from data to source 2022-01-04 23:34:35 -06:00
AnonymousRandomPerson
c30cf5c6da Decomped EvaluateItem() 2022-01-04 00:00:31 -06:00
AnonymousRandomPerson
a61f7ea2a1 Decomped HasItem() 2021-12-29 23:33:22 -06:00
Seth Barberee
edf909be4d
Merge pull request #91 from AnonymousRandomPerson/master
More item AI decomp
2021-12-28 23:00:59 -06:00
AnonymousRandomPerson
ea10f7b7bd Created header for pokemon_3 2021-12-28 22:15:56 -06:00
AnonymousRandomPerson
d40d2e55a3 Decomped IsTargetStraightAhead() 2021-12-28 21:38:42 -06:00
AnonymousRandomPerson
4bf154654b Decomped TargetThrownItem() 2021-12-28 21:38:39 -06:00
Seth Barberee
6512ebff67
Merge pull request #90 from pret/pokemon_mail_data
Pokemon mail data and some decomp
2021-12-28 21:34:16 -06:00
Seth Barberee
f0ef6ae481 decomp some more 2021-12-24 17:45:49 -06:00
Seth Barberee
e7a59a1a21 move pokemon mail data to src 2021-12-22 17:00:21 -06:00
Seth Barberee
7a1956f51d
Merge pull request #87 from SethBarberee/personality_test_data_2
Personality test data 2
2021-12-21 15:05:05 -06:00
Seth Barberee
4fd4208364
Delete build artifacts on clean target (#89)
* delete build artifacts on clean target

* clean out the graphics files too

* fix up auto-gen message on pokemon_found and move END_OF_TABLE to actual end of table
2021-12-21 14:47:46 -06:00
Seth Barberee
3a1307e907 use personality natures for wraparound 2021-12-21 10:01:41 -06:00
Seth Barberee
74b7676ae2
Merge pull request #86 from mid-kid/master
More disassembly and dependency generation fixes...
2021-12-20 17:31:22 -06:00
mid-kid
010d641899 Explicitly declare dependencies for generated files
These are harder to pick up automatically, and will only change when the
tools are edited, anyway...

Any other methods for solving this issue can always be reconsidered
later down the line...
2021-12-20 16:29:19 +01:00
mid-kid
99a038284b Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst
juggling with tools/scaninc and tools/preproc:
- tools/scaninc doesn't apply the proper search rules for .include (it
  assumes #include behavior). In particular, it doesn't consider paths
  starting from $PWD, and doesn't scan the included files as a result.
- .include had to be processed before #include by preproc in many cases,
  as code was being included that had to be preprocessed by CPP (think
  of #define). This contradicts standard GCC behavior.

To make include paths consistent across the asm/ data/ and src/
directories, the following files were moved:
- constants/ → include/asm/constants/
- asm/macros/ → include/asm/macros/
- asm/macros.inc → include/asm/macros.inc
- include/macros/m4a.inc → include/asm/macros/m4a.inc

As part of the necessary changes for this to work, the scaninc method in
the makefile was improved to generate .d files that don't choke when
files are missing.
2021-12-20 16:29:12 +01:00
mid-kid
bc43a77380 Finish de-incbinning data_80E59A8.s and data_80E7D40.s 2021-12-20 16:16:37 +01:00
mid-kid
51bff00712 Finish de-incbinning data_80D47B8.s and data_80DED44.s 2021-12-20 16:11:19 +01:00
Seth Barberee
3e84c8e11b
Merge pull request #88 from AnonymousRandomPerson/master
Renamed inconsistent color macros
2021-12-19 17:52:44 -06:00
AnonymousRandomPerson
7acad69795 Renamed inconsistent color macros 2021-12-19 17:19:13 -06:00
Seth Barberee
2ec7cc5bad fix nonmatch and move question references 2021-12-19 14:59:10 -08:00
Seth Barberee
3021ae9077 all data moved except questions 2021-12-19 14:59:10 -08:00
Seth Barberee
8e1c66d8bd
Merge pull request #85 from AnonymousRandomPerson/master
More AI decomp
2021-12-19 16:38:51 -06:00