Decompile battle_anim_8170478.c (#445)

This commit is contained in:
Marcus Huderle
2018-12-13 21:33:54 -06:00
committed by GitHub
parent 170b6ef449
commit 2c6849bee8
14 changed files with 2299 additions and 6031 deletions

View File

@@ -61,6 +61,12 @@
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) >= (b) ? (a) : (b))
// Extracts the upper 16 bits of a 32-bit number
#define HIHALF(n) (((n) & 0xFFFF0000) >> 16)
// Extracts the lower 16 bits of a 32-bit number
#define LOHALF(n) ((n) & 0xFFFF)
// There are many quirks in the source code which have overarching behavioral differences from
// a number of other files. For example, diploma.c seems to declare rodata before each use while
// other files declare out of order and must be at the beginning. There are also a number of