diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-22 18:13:20 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-22 18:13:20 -0400 |
commit | 15427f532085846ab6b51719be687951a094cb6c (patch) | |
tree | edea9b189e91641a12dd521756894df84aeeace7 /engine/battle/b.asm | |
parent | ea3ba4cde3706b7c77efb705555ec0c86321cbe2 (diff) |
Pull a lot of engine out of main.asm
Diffstat (limited to 'engine/battle/b.asm')
-rwxr-xr-x | engine/battle/b.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engine/battle/b.asm b/engine/battle/b.asm new file mode 100755 index 00000000..7269e48c --- /dev/null +++ b/engine/battle/b.asm @@ -0,0 +1,18 @@ +DisplayEffectiveness: ; 2fb7b (b:7b7b) + ld a, [$D05B] + and a, $7F + cp a, $0A + ret z + ld hl, SupperEffectiveText + jr nc, .done + ld hl, NotVeryEffectiveText +.done + jp PrintText + +SupperEffectiveText: ; 2fb8e (b:7b8e) + TX_FAR _SupperEffectiveText + db "@" + +NotVeryEffectiveText: ; 2fb93 (b:7b93) + TX_FAR _NotVeryEffectiveText + db "@" |