diff options
author | Ryan Tandy <ryan@nardis.ca> | 2019-10-12 12:10:39 -0700 |
---|---|---|
committer | Ryan Tandy <ryan@nardis.ca> | 2019-10-12 12:10:39 -0700 |
commit | 351f50a454b7b37521f9a1c6dad3db7a302a89da (patch) | |
tree | d3ce0d27e34fd5584e23520b36130753ab76d69a /macros | |
parent | 242428c722a9d92ba20f33389f4a940b04e98568 (diff) |
Sync base_stats from pokecrystal and include in the build
Remaining differences:
- Move tutor is Crystal exclusive
- Kept hard-coded pic dimensions for now as front pics have not been extracted yet
Diffstat (limited to 'macros')
-rw-r--r-- | macros/basestats.asm | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/macros/basestats.asm b/macros/basestats.asm index 25ffcc02..f2fbbee9 100644 --- a/macros/basestats.asm +++ b/macros/basestats.asm @@ -28,39 +28,3 @@ ENDM add_mt: MACRO enum \1_TMNUM ENDM - -tmhm: MACRO -x = 0 -y = 0 -w = 0 - rept _NARG - if def(\1_TMNUM) - if \1_TMNUM < 25 -x = x | (1 << ((\1_TMNUM) - 1)) - else - if \1_TMNUM < 49 -y = y | (1 << ((\1_TMNUM) - 1 - 24)) - else -w = w | (1 << ((\1_TMNUM) - 1 - 48)) - endc - endc - else - fail "\1 is not a TM, HM, or move tutor move" - endc - - shift - endr - - rept 3 - db x & $ff -x = x >> 8 - endr - rept 3 - db y & $ff -y = y >> 8 - endr - rept 2 - db w & $ff -w = w >> 8 - endr -ENDM |