Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .unknown_moves
- call .IncreaseScore
- call .IncreaseScore
- ld a, [wBattleMonType1]
- ld b, a
- ld hl, wEnemyMonType1
- call CheckTypeMatchup
- ld a, [wTypeMatchup]
- cp EFFECTIVE + 1 ; 1.0 + 0.1
- jr c, .ok
- call .DecreaseScore
- .ok
- ld a, [wBattleMonType2]
- cp b
- jr z, .ok2
- call CheckTypeMatchup
- ld a, [wTypeMatchup]
- cp EFFECTIVE + 1 ; 1.0 + 0.1
- jr c, .ok2
- call .DecreaseScore
- .ok2
- ld a, [wBattleMonType1]
- ld b, a
- ld hl, wEnemyMonType2
- ld a, [wEnemyMonType1]
- ld d, a
- ld a, [wEnemyMonType2]
- cp d
- jr z, .done
- call .IncreaseScore
- call .IncreaseScore
- call CheckTypeMatchup
- ld a, [wTypeMatchup]
- cp EFFECTIVE + 1 ; 1.0 + 0.1
- jr c, .ok3
- call .DecreaseScore
- .ok3
- ld a, [wBattleMonType2]
- cp b
- jr z, .done
- call CheckTypeMatchup
- ld a, [wTypeMatchup]
- cp EFFECTIVE + 1 ; 1.0 + 0.1
- jr c, .done
- call .DecreaseScore
- .done
- call .CheckEnemyMoveMatchups
- pop bc
- pop de
- pop hl
- ret
Add Comment
Please, Sign In to add comment