ref: 7c8a4cca6dfb18ad80a273db9fb2a04bf16627a9
parent: 62c0264512162680d5a7e695bd551f5782b3ff01
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Mon Sep 2 07:44:26 EDT 2013
Add PointerTable: and organize labels
--- a/main.asm
+++ b/main.asm
@@ -13308,13 +13308,13 @@
ld c, $1f
ld a, $d9
call PlayMusic
- jr .asm_551c
+ jr Func_551c
.pleaseWait: ; 550f (1:550f)
db "PLEASE WAIT!@"
-.asm_551c
- ld hl, Unknown_5a5b ; $5a5b
+Func_551c:
+ ld hl, PointerTable ; $5a5b
ld b, $0
ld a, [$cc38]
cp $ff
@@ -13326,7 +13326,8 @@
ld h, [hl]
ld l, a
jp [hl]
-.asm_5530
+
+Func_5530
call ClearScreen
call Func_5ae6
call Func_57f2
@@ -13547,12 +13548,12 @@
call Func_226e
ld a, [$cc3d]
cp $f
- jp z, .asm_551c
+ jp z, Func_551c
ld [$cd3e], a
call Func_57c7
ld a, $1
ld [$cc38], a
- jp .asm_551c
+ jp Func_551c
.statsTrade
db "STATS TRADE@"
.asm_572f
@@ -13696,6 +13697,8 @@
pop bc
inc c
jr .asm_5829 ; 0x5847 $e0
+
+Func_5849:
ld c, $64
call DelayFrames
xor a
@@ -13905,8 +13908,9 @@
TradeCanceled:
db "Too bad! The trade",$4E,"was canceled!@"
-Unknown_5a5b: ; 5a5b (1:5a5b)
-INCBIN "baserom.gbc",$5a5b,$5a5f - $5a5b
+PointerTable: ; 5a5b (1:5a5b)
+ dw Func_5530
+ dw Func_5849
; known jump sources: 3888 (0:3888)
Func_5a5f: ; 5a5f (1:5a5f)