summaryrefslogtreecommitdiff
path: root/engine/item_effects.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-25 19:01:36 -0500
committerGitHub <noreply@github.com>2017-12-25 19:01:36 -0500
commit73db02d3cdaf81a214ec6faa5462195618a80a48 (patch)
treeb4d1a5187fda9da6186c52c03e836a5ff8f4dd90 /engine/item_effects.asm
parentec8c9688ce970b9c3b63a5b287a99542f0bc9984 (diff)
parent29b41068cb0644956494dd2b7b75331a336b8d26 (diff)
Merge pull request #433 from roukaour/master
More code cleanup
Diffstat (limited to 'engine/item_effects.asm')
-rw-r--r--engine/item_effects.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/item_effects.asm b/engine/item_effects.asm
index 4db1f3b7d..90dfdc7e0 100644
--- a/engine/item_effects.asm
+++ b/engine/item_effects.asm
@@ -861,7 +861,7 @@ HeavyBallMultiplier:
.compare
ld c, a
- cp 1024 >> 8 ; 102.4 kg
+ cp HIGH(1024) ; 102.4 kg
jr c, .lightmon
ld hl, .WeightsTable
@@ -892,10 +892,10 @@ HeavyBallMultiplier:
.WeightsTable:
; weight factor, boost
- db 2048 >> 8, 0
- db 3072 >> 8, 20
- db 4096 >> 8, 30
- db 65280 >> 8, 40
+ db HIGH(2048), 0
+ db HIGH(3072), 20
+ db HIGH(4096), 30
+ db HIGH(65280), 40
LureBallMultiplier:
; multiply catch rate by 3 if this is a fishing rod battle