Phlosioneer
0f6cc27e81
Fixed decomp issue around LoadPalette
...
In LoadLinkPartnerEventObjectSpritePalette, using paletteNum += 6 causes
GCC to "mark" paletteNum's register as a possible overflow, even though
it performs the overflow check. Then, when passing args to LoadPalette,
GCC fails to recognize that 0x100 + ((any u8) << 4) can never overflow
as a u16. It then does an overflow check before calling LoadPalette.
Assigning to a temp variable seems to avoid this "marking" behavior.
2019-03-02 00:36:59 -05:00
Phlosioneer
3ceb1667c9
Reduce externs
2019-03-01 22:32:50 -05:00
Phlosioneer
da0687987d
Pick better names for constants
2019-02-28 22:21:16 -06:00
Phlosioneer
189d387f01
Add macros for metatile manipulation
2019-02-28 22:21:16 -06:00
Phlosioneer
b2866fae21
Document the weather state functions
...
All weather types are now documented (including WEATHER_15)
2019-02-22 22:20:42 -05:00
Marcus Huderle
abebd2b864
Cleanup externs in overworld.c
2019-02-08 11:48:51 -06:00
DizzyEggg
23b240ab65
Fix Menu and List Menu input defines
2019-02-02 11:04:38 +01:00
Tetrable
a3ebca4d81
Fix merge conflicts
2019-01-02 21:25:14 +00:00
Tetrable
1e3da62d24
Finish off labelling flags
2019-01-02 21:12:43 +00:00
Diegoisawesome
d004ce065c
Merge branch 'master' of github.com:pret/pokeemerald into trade
2018-12-31 02:30:30 -06:00
Diegoisawesome
ec780bb209
Cleanup and documentation
2018-12-31 02:22:21 -06:00
Marcus Huderle
6e7bdb3ca4
Document misc field_specials things
2018-12-29 11:36:54 -06:00
Marcus Huderle
67636b7c64
Document deoxys rock
2018-12-29 11:36:54 -06:00
Marcus Huderle
d59f5a8e56
Misc overworld documentation
2018-12-27 16:52:13 -06:00
DizzyEggg
49517aca9e
make it compie hopefully
2018-12-24 22:19:40 +01:00
DizzyEggg
442b1826a2
asm party and fldeff clean-up
2018-12-24 21:59:05 +01:00
DizzyEggg
ecee02816d
Merge with master
2018-12-20 22:53:08 +01:00
Melody
5e6ceeb631
update applymovement to remove magic numbers
2018-12-19 14:08:01 -05:00
DizzyEggg
f1421d94c3
Up to sub 0x80ce580
2018-12-15 23:58:47 +01:00
DizzyEggg
4683cdc30c
Merge branch 'master' into weather
2018-12-09 11:56:50 +01:00
DizzyEggg
4ec14b3d43
Finish field screen
2018-12-08 22:05:11 +01:00
nullableVoidPtr
f9ff7316d5
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
2018-12-06 10:38:28 +08:00
nullableVoidPtr
3909b6408c
Fix alloc.c as per #386 , define INVALID_ constants and rename malloc to alloc as per #325
...
Some of the INVALID_ are likely erroneously placed, due to lack of documentation
2018-12-06 09:44:08 +08:00
DizzyEggg
f87e68379c
match 2 field functions
2018-11-29 21:19:00 +01:00
DizzyEggg
1b0cfb0757
Party Size and Num Stats
2018-11-18 20:00:36 +01:00
Slawter666
1d46507110
Move field effects enum to defines
2018-11-13 14:19:04 +00:00
Slawter666
1b895ff52c
Merge branch 'master' of https://github.com/pret/pokeemerald into synchronise
2018-11-12 14:14:50 +00:00
DizzyEggg
7de1c4bd14
Make frontier util compile
2018-10-30 22:17:03 +01:00
Diegoisawesome
f3af20d3cf
Merge pull request #370 from DizzyEggg/battle_tower
...
Decompile Battle Tower
2018-10-30 11:18:24 -05:00
DizzyEggg
b252bd0292
Window priority to window bg
2018-10-27 00:53:07 +02:00
DizzyEggg
549b669f2a
battle tower, match sth and dumb loop instead of goto
2018-10-24 23:14:45 +02:00
Slawter666
3d8874d919
Merge branch 'master' of https://github.com/pret/pokeemerald into synchronise
2018-10-21 00:20:09 +01:00
garak
113a8d1efd
clean flags and remove temp macro
2018-10-19 14:59:18 -04:00
garak
d1b7f32b0a
begin event flag names, add temporary hidden item macro
2018-10-17 22:07:23 -04:00
Slawter666
b7b1d609d0
More synchronisation
2018-10-17 13:52:26 +01:00
Diegoisawesome
e75f0b4f80
Port/decompile field_control_avatar
2018-10-16 21:47:08 -05:00
Slawter666
1435c96b41
Further synchronisation
2018-10-17 01:11:44 +01:00
Slawter666
1ba17e1666
Merge branch 'decompile_frontier_2' of https://github.com/DizzyEggg/pokeemerald into factory-data
2018-09-09 15:51:13 +01:00
DizzyEggg
2f59df03ab
Standartize AddTextPrinterParametrized functions,
2018-09-08 23:38:30 +02:00
Slawter666
4c54212b1f
Bring labels for overworld.c over from pokeruby
2018-09-04 23:31:37 +01:00
DizzyEggg
78cad0dee5
try battle tent and fail
2018-08-26 15:27:06 +02:00
DizzyEggg
edcf04b665
Document battle dome.
2018-08-25 19:59:47 +02:00
DizzyEggg
fb19a8fc59
battle dome cards sensibly renamed
2018-08-19 01:06:10 +02:00
Diegoisawesome
b54793be91
Finish decompiling field_specials
2018-08-11 14:51:54 -07:00
Diegoisawesome
1e0f3ec433
Continue decompiling field_specials
2018-08-10 14:07:23 -07:00
Diegoisawesome
12ff59f9c1
Continue decompiling field_specials
2018-08-10 00:42:06 -07:00
Diegoisawesome
bad170b0cb
Continue decompiling field_specials
2018-08-08 23:53:21 -07:00
Diegoisawesome
90896e38c9
Begin porting/decompiling field_specials
2018-08-08 01:37:12 -07:00