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
huderlem
3b04cfa437
Merge pull request #551 from Phlosioneer/multiplayer-stuff
...
Document overworld.c and link stuff in general
2019-03-01 08:43:55 -06:00
Phlosioneer
459fd93b59
Fix minor errors
2019-03-01 01:18:58 -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
hondew
9ed0f77528
fixed issues in data and include dirs
2019-02-28 21:21:56 -06:00
hondew
53d7e21332
fix formatting in slot_machine.c
2019-02-28 21:21:56 -06:00
hondew
6a4202cdbd
tidied lucky flags
2019-02-28 21:21:56 -06:00
hondew
1dc0d346d9
fix spelling error
2019-02-28 21:21:56 -06:00
hondew
dd8ecabe26
fix mistakes and bad formatting
2019-02-28 21:21:56 -06:00
hondew
f965f1b13d
label luckyFlags
2019-02-28 21:21:56 -06:00
hondew
a6eb879267
minor reeltime changes
2019-02-28 21:21:56 -06:00
hondew
47a3477ab1
finish DecideReelTurns
2019-02-28 21:21:56 -06:00
hondew
f8f046c850
clean up slot machine more
2019-02-28 21:21:56 -06:00
hondew
67fe781ed2
clean up slot machine until AwardPayout
2019-02-28 21:21:56 -06:00
hondew
5c8cc5225f
document slot machine
2019-02-28 21:21:56 -06:00
DizzyEggg
baf95a8e7a
get rid of ugly cast
2019-02-28 17:26:09 -06:00
Marcus Huderle
4b9e93850c
Document easy chat screen types
2019-02-27 12:55:29 -06:00
Phlosioneer
b8a60b055b
Fix previous merge
2019-02-26 22:11:43 -05:00
Phlosioneer
3a44b090d1
Merge branch 'master' into multiplayer-stuff
2019-02-26 22:07:29 -05:00
Phlosioneer
accea672f1
Incorporate feedback
2019-02-26 22:04:44 -05:00
Marcus Huderle
231355f84d
Decompile easy_chat data
2019-02-26 14:50:02 -06:00
Marcus Huderle
b60611c38e
Finish decompiling easy_chat.c code
2019-02-26 14:50:02 -06:00
DizzyEggg
7742e28dad
Easy chat nonmatchings fix
...
do {} while(0);
2019-02-26 09:15:20 -06:00
huderlem
153f134318
Merge pull request #583 from huderlem/easy_chat
...
Decompile more easy_chat.c
2019-02-25 14:12:18 -06:00
Marcus Huderle
7ea05431a5
Decompile more easy_chat.c
2019-02-25 14:11:31 -06:00
huderlem
d77ba3d413
Merge pull request #581 from arantonitis/pokemon_summary
...
Documented/polished pokemon_summary_screen.c
2019-02-25 08:09:14 -06:00
huderlem
b3a7a1278a
Merge pull request #577 from Phlosioneer/weather-15
...
Document the weather state functions
2019-02-25 08:03:22 -06:00
huderlem
84573f1774
Merge pull request #574 from Phlosioneer/event-vars
...
Event vars
2019-02-25 08:02:28 -06:00
Phlosioneer
a5cf2b8090
Use map script constants in map script functions
2019-02-25 08:01:22 -06:00
Phlosioneer
8816aa527d
Update map script files
2019-02-25 08:01:22 -06:00
Phlosioneer
5f7a971313
Source file part of map script renaming
2019-02-25 08:01:22 -06:00
Phlosioneer
1cd5cb09cf
Merge branch 'master' into weather-15
2019-02-25 02:30:35 -05:00
Phlosioneer
e1b2460748
Adjust formatting, rename function
2019-02-25 02:28:41 -05:00
Phlosioneer
4e5fae0086
Merge branch 'master' into event-vars
2019-02-25 02:24:20 -05:00
Phlosioneer
87859a655b
Fix flag formatting for fun
2019-02-25 02:20:38 -05:00
huderlem
a589d4a630
Delete porymap.project.cfg
2019-02-24 10:22:11 -06:00
Tustin2121
4a785e66ba
Changing descriptions to not be file names
2019-02-24 10:20:31 -06:00
tustin2121
8711bc5156
Document HEALTHBOX_GRX_* in battle_interface.c
...
Most of these are referenced via offsets, like the HP bar, which uses [0 pixels] + (number of pixels) to reference which chunk to draw. Each corresponds to a 16x16 pixel in the graphic named. Up to you guys if you want to rename the constants.
2019-02-24 10:20:31 -06:00
Phlosioneer
04db99bb0a
More misc event names
2019-02-24 10:10:18 -06:00
Phlosioneer
0de831fd29
Name some common single-entry movements
2019-02-24 10:10:18 -06:00
Phlosioneer
4582fd1545
Name a ton of commonly used event scripts
2019-02-24 10:10:18 -06:00
Marcus Huderle
bb508ade64
Decompile more of easy_chat.c
2019-02-24 10:09:57 -06:00
Ariel Antonitis
0c47744a63
Moved ALIGNED(4) from extern to unknown struct.
2019-02-23 22:22:38 -05:00
Ariel Antonitis
d24cd4f0a8
Fixed broken encoding.
2019-02-23 22:04:21 -05:00
Ariel Antonitis
42bb5dc53d
Removed unused filler by aligning adjacent variables
2019-02-23 21:55:24 -05:00
Ariel Antonitis
74a3c06270
Documented/polished pokemon_summary_screen.c
...
Mostly variables mislabeled as global and some formerly unknown stuff.
2019-02-23 21:12:35 -05:00
Diegoisawesome
7995cf5b61
Merge pull request #578 from DizzyEggg/pokenav
...
pokenav
2019-02-23 16:04:59 -06:00
Marcus Huderle
f34903bc45
Decompile more easy_chat.c
2019-02-23 13:05:34 -06:00