Phlosioneer
7ad225a72f
Address formatting issues and use constants
2019-02-18 00:16:27 -05:00
Phlosioneer
f528552583
Rename pokenav file
2019-02-17 23:14:14 -05:00
Phlosioneer
762640664f
Fix formatting
2019-02-17 23:14:14 -05:00
Phlosioneer
bfeb7fb32a
Tabs converted to spaces.
...
Oops.
2019-02-17 23:14:14 -05:00
Phlosioneer
fbcfb69fe6
Remove guess code, fix pointer formatting
2019-02-17 23:14:14 -05:00
Phlosioneer
197ad274b4
Reformat braces
2019-02-17 23:14:14 -05:00
Phlosioneer
be08a662a8
More data moved into C code
2019-02-17 23:14:14 -05:00
Phlosioneer
a4aaf279ac
Move more data into pokenav, name some strings
2019-02-17 23:14:14 -05:00
Phlosioneer
bf4c1a73c0
Start moving pokenav data into C files
...
The types and usage of many of the globals are now known.
2019-02-17 23:14:14 -05:00
Phlosioneer
758b8c7f0e
Decompiled three more functions.
2019-02-17 23:14:14 -05:00
Phlosioneer
6d929c61c5
Decompiled 4 more functions
2019-02-17 23:14:14 -05:00
Phlosioneer
cb800e4708
Decompiled 5 functions
...
Was unable to decompile sub_81C79BC.
2019-02-17 23:14:14 -05:00
Phlosioneer
d41c597f90
Decompiled sub_81C7990
2019-02-17 23:14:14 -05:00
Phlosioneer
f95eebf47a
With help, sub_81C795C has been tamed.
...
Thanks to Garak on the discord server.
2019-02-17 23:14:14 -05:00
Phlosioneer
a8d920cc45
Decompiled 2 functions, unable to decompile 1.
...
sub_81C795C could not be decompiled due to register naming issues.
However, its structure was correctly matched, so I have left the C
code and a comment explaining the issue.
2019-02-17 23:14:14 -05:00
Phlosioneer
34b16e9e78
Decompiled 5 functions for unknown structs
2019-02-17 23:14:14 -05:00
Phlosioneer
3bb4057bad
Decompiled sub_81C7764
2019-02-17 23:14:14 -05:00
Phlosioneer
7c405e08d0
Decompiled three more small functions
2019-02-17 23:14:14 -05:00
Phlosioneer
5beb2baa97
Decompiled sub_81C76C4
2019-02-17 23:14:14 -05:00
Phlosioneer
b038556851
Decompiled several setters and getters
2019-02-17 23:14:14 -05:00
Phlosioneer
13a6765c88
Decompiled several trivial functions
2019-02-17 23:14:14 -05:00
Phlosioneer
112fc47017
Decompiled sub_81C756C
...
Also discovered a constant that may be useful for future decompiling.
Comments were added in the asm that references the constant.
2019-02-17 23:14:14 -05:00
Phlosioneer
3d73f7c48c
Decompiled sub_81C742C
2019-02-17 23:14:14 -05:00
Phlosioneer
cf721879dd
Decompiled sub_81C7418
2019-02-17 23:14:14 -05:00
Phlosioneer
323df8ed40
Decompiled sub_81C7400
2019-02-17 23:14:14 -05:00
Phlosioneer
729e7116f2
Decompiled AnyMonHasRibbon
2019-02-17 23:14:14 -05:00
Phlosioneer
5441d80ebc
Decompiled sub_81C7360
2019-02-17 23:14:14 -05:00
Phlosioneer
aa61e105e0
Decompiled sub_81C7334
2019-02-17 23:14:14 -05:00
Phlosioneer
d52cbe6bcb
Decompiled sub_81C72BC
2019-02-17 23:14:14 -05:00
Phlosioneer
9bda2297e3
Decompiled sub_81C72A4
2019-02-17 23:14:14 -05:00
Phlosioneer
cd84c92cfa
Decompiled CB2_PokeNav
2019-02-17 23:14:14 -05:00
Phlosioneer
69b014f7aa
Decompiled sub_81C71E4
2019-02-17 23:14:14 -05:00
Phlosioneer
fb705e6047
Decompiled sub_81C7170.
2019-02-17 23:14:14 -05:00
Phlosioneer
6466d0bea8
Decompiled sub_81C7124
2019-02-17 23:14:14 -05:00
Phlosioneer
052cd4da10
Decompiled sub_81C70D8
2019-02-17 23:14:14 -05:00
Phlosioneer
698c2879e4
Decompiled sub_81C7078
2019-02-17 23:14:14 -05:00
Diegoisawesome
e95140270b
Merge pull request #556 from DizzyEggg/patch-2
...
Fix two battle scripting macros
2019-02-14 10:35:12 -06:00
DizzyEggg
cb57044531
Fix two battle scripting macros
2019-02-14 13:05:49 +01:00
Diegoisawesome
efc5494834
Merge pull request #555 from Diegoisawesome/master
...
scaninc: Fix C comment consumption logic
2019-02-13 22:00:32 -06:00
Diegoisawesome
05d02e804e
Fix C comment consumption logic
2019-02-13 21:55:39 -06:00
Diegoisawesome
047c282763
Merge pull request #548 from Phlosioneer/intro-movie-state-machine
...
Document the intro movie state machine
2019-02-13 21:24:20 -06:00
Phlosioneer
e7d0268143
Fix spelling of Rayquaza
2019-02-13 21:41:28 -05:00
Diegoisawesome
aa5d5fa34a
Merge pull request #550 from Phlosioneer/name-palette-return-values
...
Name the possible return values of palette fading functions
2019-02-13 20:15:47 -06:00
Diegoisawesome
dfb896356c
Merge branch 'master' of github.com:pret/pokeemerald
2019-02-12 00:40:42 -06:00
Diegoisawesome
449fb25f23
Clear up misnamed time-based flags and functions
2019-02-12 00:40:34 -06:00
Diegoisawesome
16eff049a1
Merge pull request #552 from Phlosioneer/ignore-trigraph-warning
...
Ignore trigraph warning
2019-02-10 21:40:15 -06:00
Phlosioneer
05ad946b83
Ignore trigraph warning
2019-02-10 22:12:43 -05:00
Phlosioneer
d0cc8dfc17
Change negative constant into unsigned hex constant
2019-02-09 22:02:56 -05:00
Phlosioneer
37bea25b01
Name the possible return values of palette fading functions
...
Also replace implicit conversion from gPalette.active into a status with
if statements, to make the return value clear.
I've also added comments when the check is redundant.
2019-02-09 21:50:12 -05:00
Phlosioneer
45297797e6
Document the intro movie state machine
...
Need to study the water droplet animation more closely before they can
be renamed; otherwise, this names every major symbol in this file.
2019-02-09 21:07:07 -05:00