Commit Graph

212 Commits

Author SHA1 Message Date
AnonymousRandomPerson
e59285462c Merge remote-tracking branch 'upstream/master' 2022-05-30 13:24:40 -04:00
Seth Barberee
a73802a8e4 forgot to rename the field in the JSON 2022-05-30 10:02:27 -07:00
Seth Barberee
7780e0eba6 do some more decomp 2022-05-28 22:27:11 -07:00
AnonymousRandomPerson
821e14995b Merge remote-tracking branch 'upstream/master' 2022-05-29 00:24:02 -04:00
AnonymousRandomPerson
1448e5903d Added NONMATCHING for Wander() 2022-05-29 00:10:38 -04:00
Seth Barberee
773510c329 decomp more of rescue password and label GetDungeonFloorCount 2022-05-16 20:23:45 -07:00
Seth Barberee
ecb8582e87 dump and fix some more pointers 2022-05-14 18:40:58 -07:00
Seth Barberee
84107163ef move some more data to src 2022-05-12 19:52:07 -07:00
Seth Barberee
69510344aa finish out dialogue labeling, label some moltres fight funcs, and cleanup some more text macros 2022-05-07 09:05:52 -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
01ca155b81 start dumping dialogues 2022-04-16 09:17:32 -07:00
Seth Barberee
e80b02cb09 move more data to src 2022-04-10 09:45:16 -07:00
AnonymousRandomPerson
4e2a813822 Decomped CanMoveForward() 2022-03-26 22:47:38 -04:00
AnonymousRandomPerson
9a4864c1cf Decomped WeightWeakTypePicker() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
a5296a2f99 Merge remote-tracking branch 'upstream/master' 2022-02-26 13:29:30 -05:00
AnonymousRandomPerson
6e56b9f034 Decomped CanUseStatusMove() 2022-02-24 23:38:21 -05:00
AnonymousRandomPerson
598a588589 Decomped CanAttackInFront() 2022-02-21 17:03:34 -05:00
AnonymousRandomPerson
4aafa434a6 Decomped IsTileGround() 2022-02-20 23:43:06 -05:00
AnonymousRandomPerson
96372eb336 Decomped CanUseOnSelfWithStatusChecker() 2022-02-20 21:59:22 -05:00
Seth Barberee
6bf6f8ded1 finish moving data to load_screen 2022-02-17 18:59:56 -06:00
Seth Barberee
ee5fb3584d move data from data to wonder_mail 2022-02-17 18:59:56 -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
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
5dc5b3b1f9 Used official or more common names for music tracks 2022-01-26 00:07:18 -05:00
AnonymousRandomPerson
154c442505 Decomped CanMoveInDirection() 2022-01-25 22:46:40 -05:00
AnonymousRandomPerson
74d89a6fe4 Made recruit rate signed in species data 2022-01-16 23:45: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
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
d40d2e55a3 Decomped IsTargetStraightAhead() 2021-12-28 21:38:42 -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
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
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
AnonymousRandomPerson
b458476078 Swapped out more text macros 2021-12-14 22:54:04 -05:00
AnonymousRandomPerson
cd9a8c5a38 Decomped CanTarget() 2021-12-14 22:54:03 -05:00
mid-kid
087405b9d9 Dump and document status sprites 2021-12-13 10:44:48 -06:00
mid-kid
8213467c21 Dump status names and descriptions 2021-12-13 10:44:48 -06:00
mid-kid
ca10fd795e Dump unidentified tables 2021-12-13 10:44:48 -06:00
mid-kid
2fcfbc2266 Finish de-incbinning data.s 2021-12-13 10:44:48 -06: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
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
Geotale
1355271988
Add some labels and convert some strings for some data (#74)
* Adding in all missing strings and labels

Quite a few strings and labels were missing. This should fix all of them. "NaiveQuest1Answers" might have the second option incorrect, but it's kinda hard to count bytes and this does seem to be a valid answer, and should be checked in the future.

* Add all strings, labels, and update pointers

Like the previous commit, I have 0 clue if this builds lol -- I can't quite test this, because I can't run a compiler to do so, and I don't own a copy of the game. Should still match I would think. JobHeadline may have something incorrect about trailing 0 bytes, but it seems to have been an observational mistake on my end on it having 5 of them rather than 4?

* Fix consistency with previous labels (+typo fix)

Basically just "Message" with "Text", and replace "Headlline" with "Headline"

* Fix mistyped labels from previous commit

It seems I'm not very good at this assembly thing. "NewFriendAreas" -> "NewFriendArea", like originally.

* Replace the rest of "Message" with "Text"

I forgot to replace some stuff

* Forgot an A

Insert an A to create "BraveQuest2A_Ignore" instead of "BraveQuest2_Ignore"

* Forgot a space, remove more

Removed some extra whitespace, add a space between ".string" and a quotation mark that I had missed. Hope this didn't break anything somehow.

* Add back all comments, fix missing pointer

I accidentally deleted all comments. I've now fixed that, and added in a pointer to NaiveQuest1_Love because I had missed it somewhere else.

* Add in TimidQuest3 answer pointers I had missed

This should be the last of the missing pointers?

* Tabs -> Spaces

Fixed formatting by converting all tabs to spaces. I don't actually know when I changed them to tabs, but I'd guess I did pretty early on...

* Add some labels

A few labels were missing, tried to fill them in.

* Made a data assembler!

I can now basically ensure that the files match! Found an error with two labels reversed, but that seems to be the only thing that was incorrect.

* Left out a space somehow

Simply just adds a space between a ".string" and the actual string

* Make the files actually match

Took a bit of time, but I believe I've finally got this file actually matching!
I was lazy with strings when first encoding and wrote decimal offsets for octal character encodings sometimes which is fun. All instances of this should now be fixed!

* Fix some labels

I believe this was just missing two labels that I forgot to change when copy-pasting them for the general format...
Meh, still, glad to have it fixed.

* Replace hexadecimal string escapes with octal ones

I tried committing this before but it doesn't seem to have worked for some reason -- Just in case it did and I'm rewriting this on accident.
I should have done some research apparently -- ARM asm doesn't support hexadecimal escape sequences, only octal ones. Should be fixed now!

* Replace octal escape sequences with ".byte"

It turns out those aren't supported either -- That's okay, though it looks a bit more messy imo.

* Update data/pokemon_mail.s

* fix up conflicts and labels

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-11-18 10:19:20 -08:00