Commit Graph

74 Commits

Author SHA1 Message Date
Seth Barberee
c581430173 clean up weather struct and label more weather moves 2024-07-20 10:59:15 -07:00
Seth Barberee
e442953b38 label more move funcs 2024-04-14 17:29:48 -07:00
Seth Barberee
a372938d6c address more review comments 2024-01-29 14:55:36 -08:00
Seth Barberee
11c5c7505d address review comment 2024-01-29 14:50:49 -08:00
Seth Barberee
4051053fd8 More work on trap funcs 2024-01-06 21:12:17 -08:00
Seth Barberee
3635d87b57 decomp few more trap funcs and fix some names 2024-01-06 10:23:18 -08:00
Roshan Padaki
9ec6e1403f
actually, just decomp cos/sin/mod 2023-09-24 04:13:21 -04:00
Kermalis
0909353890 Clean post_office_guide 2023-09-03 00:13:15 -04:00
Seth Barberee
caaee60187 one more menu decomp and EncoreMoveAction/StatusTarget decomped 2023-05-25 08:02:53 -07:00
Seth Barberee
f4dd4b555f name two more funcs 2023-01-29 20:45:01 -08:00
Seth Barberee
61545f247f address most review comments 2023-01-29 20:21:57 -08:00
Seth Barberee
a990b639ce document more funcs 2023-01-26 22:09:03 -08:00
Seth Barberee
6e23d1999a document more move actions 2023-01-23 11:57:11 -08:00
AnonymousRandomPerson
b22feb80af Merge remote-tracking branch 'upstream/master' 2023-01-13 22:36:16 -05:00
Seth Barberee
55dd6ee272 more labeling 2023-01-13 17:22:41 -08:00
AnonymousRandomPerson
be20f60ee0 Synced some symbol names with EoS hacking 2023-01-08 04:23:00 -05:00
Seth Barberee
4d52451f80 rename funcs from github review 2022-12-14 17:51:26 -08:00
Seth Barberee
298f2c5c31 more decomp 2022-12-07 21:11:35 -08:00
Seth Barberee
e12e133458 document more functions and cleanup some code 2022-11-18 10:00:22 -08:00
Seth Barberee
0d02904c9b finish decomp of code_8075BA4.s 2022-11-17 19:50:37 -08:00
Seth Barberee
4c760a92cb more decomp 2022-11-11 16:49:48 -08:00
Seth Barberee
e9f8c788da more decomp 2022-11-02 22:05:20 -07:00
Seth Barberee
1e54931d53 More decomp 2022-10-10 10:04:41 -07:00
Seth Barberee
922695342c decomp multiple move/orb actions and event flag 2022-10-10 10:04:41 -07:00
Seth Barberee
7fd9ef920a continue decomping more dungeon side 2022-08-20 10:03:09 -07:00
Seth Barberee
d9893a6274 decomp a few more 2022-07-31 19:13:05 -07:00
Seth Barberee
f9d644ce0f document CalculateStatusTurns (from PR comments) 2022-05-30 10:03:38 -07:00
Seth Barberee
482ade61be address review commnts, label almost all dialogue and few more funcs 2022-05-07 07:51:12 -07:00
Seth Barberee
16cdcfe04b finish off dungeon random and few simple status funcs 2022-04-04 10:55:21 -07:00
AnonymousRandomPerson
64651ef818 Renamed move boolean functions 2022-03-10 22:59:38 -05:00
AnonymousRandomPerson
83d097624b Renamed sprintf() duplicate function 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
951b01114a Decomped IsMoveIndexUsable 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
60a19d681c Decomped GetMapTile_2 2022-02-20 21:59:23 -05:00
AnonymousRandomPerson
3bbb6035e7 Decomped GetMoveTargetingFlagsForPokemon() 2022-02-13 22:30:25 -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
AnonymousRandomPerson
05768ae71d Decomped RoundUpFixedPoint() 2022-01-06 23:11:38 -06:00
Seth Barberee
f0ef6ae481 decomp some more 2021-12-24 17:45:49 -06: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
Seth Barberee
4fc272fea6
No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp

* layin some more

* one func, one file
2021-12-01 14:33:06 -08:00
Seth Barberee
fd8720b75c
Label all entities in Boss Fight Cutscenes (#78)
* label all entities in cutscenes

* remove commented func.. wasn't matching anyway

* Skarmony -> Skarmory
2021-11-22 12:14:58 -06:00
Cheng Hann Gan
938a88551f
Labeled more symbols (#77)
* Labeled more symbols

* Fixed comment typo

* Renamed some functions
2021-11-20 08:47:46 -08:00
Seth Barberee
bfaa55f2fe
Label and doc iq skills and tactics info (#75)
* label/doc iq skills/tactics info

* decomp a few more dungeon_util and label some funcs

* doc the IQSkills field
2021-11-15 11:02:26 -08:00
Cheng Hann Gan
0ea22237c9
Decomped DecideUseItem (#73) 2021-11-13 16:59:20 -08:00
Seth Barberee
3a1db3dfac Moves and some friend_area_action_menu 2021-11-02 16:31:16 -07:00
Cheng Hann Gan
dd128d78c6
Decomped more dungeon AI (#67)
* Decomped IsMovingClient()

* Fixed typos in boss dialogue

* Fixed spelling of Pelipper

* Decomped CannotUseItems

* Decomped ShouldAvoidEnemies()

* Decomped HasAbility()

* Decomped HasTactic()

* Decomped CannotMove

* Decomped CannotAct() and IsCharging()
2021-10-28 09:01:07 -07:00
Cheng Hann Gan
c98fb2c112
Decomped DecideAction() (#66)
* Decomped DecideAction()

* Defined dungeon Pokémon array sizes
2021-10-22 10:20:01 -07:00
Cheng Hann Gan
3f7ee3a806
Decomped entityExists() (#64) 2021-10-15 15:30:33 -07:00
Cheng Hann Gan
8237e29a16
Defined more in-dungeon structs and enums (#53)
* Defined DungeonEntity

* Rename EntityType enums

* Revert EntityType rename

* Defined more in-dungeon structs and enums

* Added more dungeon global structs/enums

* Prefixed dungeonGlobalData with g

* Fixed compile errors

* Removed some CRLFs

* Fixed compile after merge

* Revert Makefile

* Rename DungeonEntityData.entityType

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>

* Renamed symbols per PR comments

Co-authored-by: Cheng Hann Gan <chenghann_gan@ultimatesoftware.com>
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-09-09 16:22:48 -07:00
Seth Barberee
377bd14ea6
Dungeon pokemon/Floor ID JSON Part 1 (#39)
* move Thunderwave and Tiny Woods pokemon to json

* rule tweaking to actually build tool before parsing JSON

* delete .inc pokemon for tiny Woods and Thunderwave

* silence git complaining about br_ips and ips_patch

* use defines for species and pass the header file for species

* convert sinister woods

* convert MtThunderPeak

* convert silent chasm

* add trial floor_id w/ tiny woods

* change make rule name to fix compile

* MtSteel converted and bugfix

* convert few floor headers and great canyon pokemon

* code cleanup

* unify unkData into UnkTextStruct2

* more code cleanup and some text decomp

* doc more funcs and decomp/split some stuff

* document more save stuff

* more save work and move some data

* pika sniped UpdateNatureTotal

* decomp a litle and convert a few more dungeons

* better scanning for json files

* mt freeze and peak
2021-06-09 22:54:21 -05:00