shithub: pokered

Download patch

ref: 891627d4ba193dd839e03e9e30f1e492e57eac9f
parent: 1b0404d0dc1962ae9ad8e25ac4aa598e1b7e62ae
author: dannye <corrnondacqb@yahoo.com>
date: Wed Aug 5 05:33:32 EDT 2015

Rename rod functions

--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -91,9 +91,9 @@
 	dw ItemUsePokeflute  ; POKE_FLUTE
 	dw UnusableItem      ; LIFT_KEY
 	dw UnusableItem      ; EXP__ALL
-	dw OldRodCode        ; OLD_ROD
-	dw GoodRodCode       ; GOOD_ROD
-	dw SuperRodCode      ; SUPER_ROD
+	dw ItemUseOldRod     ; OLD_ROD
+	dw ItemUseGoodRod    ; GOOD_ROD
+	dw ItemUseSuperRod   ; SUPER_ROD
 	dw ItemUsePPUp       ; PP_UP (real one)
 	dw ItemUsePPRestore  ; ETHER
 	dw ItemUsePPRestore  ; MAX_ETHER
@@ -1734,7 +1734,7 @@
 	TX_FAR _CoinCaseNumCoinsText
 	db "@"
 
-OldRodCode: ; e24c (3:624c)
+ItemUseOldRod: ; e24c (3:624c)
 	call FishingInit
 	jp c, ItemUseNotTime
 	ld bc, (5 << 8) | MAGIKARP
@@ -1741,7 +1741,7 @@
 	ld a, $1 ; set bite
 	jr RodResponse
 
-GoodRodCode: ; e259 (3:6259)
+ItemUseGoodRod: ; e259 (3:6259)
 	call FishingInit
 	jp c,ItemUseNotTime
 .RandomLoop
@@ -1769,7 +1769,7 @@
 
 INCLUDE "data/good_rod.asm"
 
-SuperRodCode: ; e283 (3:6283)
+ItemUseSuperRod: ; e283 (3:6283)
 	call FishingInit
 	jp c, ItemUseNotTime
 	call ReadSuperRodData