diff options
author | yenatch <yenatch@gmail.com> | 2014-02-27 10:37:27 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-02-27 10:37:27 -0500 |
commit | f3f37d047267c6c94c24bb026a5c7fc9b06eb643 (patch) | |
tree | d7bed96990503a729330ecfe2830ff080b9ce337 /main.asm | |
parent | dd51aa0b663be11b98c1366bd729fa7f36ee8fbf (diff) |
Trainer class attributes.
Diffstat (limited to 'main.asm')
-rw-r--r-- | main.asm | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -41410,8 +41410,8 @@ Function3957b: ; 3957b call Function39550 ld a, [TrainerClass] dec a - ld hl, $559c - ld bc, $0007 + ld hl, TrainerClassAttributes + ld bc, 7 call AddNTimes ld de, $c650 ld a, [hli] @@ -41424,8 +41424,7 @@ Function3957b: ; 3957b ret ; 3959c - -INCBIN "baserom.gbc",$3959c,$39771 - $3959c +INCLUDE "trainers/attributes.asm" Function39771: ; 39771 @@ -44663,7 +44662,7 @@ AIChooseMove: ; 440ce ; Apply AI scoring layers depending on the trainer class. .ApplyLayers - ld hl, $559f ; TrainerAI + 3 ; e:559c-5771 + ld hl, TrainerClassAttributes + 3 ld a, [$cfc0] bit 0, a @@ -44675,7 +44674,7 @@ AIChooseMove: ; 440ce call AddNTimes .asm_4412f - ld bc, (CHECK_FLAG << 8) | 0 + lb bc, CHECK_FLAG, 0 push bc push hl |