summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorE <shealyrd@email.uscupstate.edu>2020-12-03 21:09:31 -0600
committerE <shealyrd@email.uscupstate.edu>2020-12-03 21:09:31 -0600
commit9f4c89f35717a703e00be12eb1a429f7d6ca2ed5 (patch)
tree8353881956097eed26beb7517c6d37beb8096bcc /src
parenta13f3a5f4fb4052a8e2b2ea47168ba17df1b5db1 (diff)
Updating friendly name for Func_cf0c and Func_cf12
Diffstat (limited to 'src')
-rw-r--r--src/data/npcs.asm2
-rw-r--r--src/engine/bank03.asm34
-rw-r--r--src/engine/bank04.asm4
-rw-r--r--src/macros/scripts.asm4
4 files changed, 22 insertions, 22 deletions
diff --git a/src/data/npcs.asm b/src/data/npcs.asm
index fac14bf..8969296 100644
--- a/src/data/npcs.asm
+++ b/src/data/npcs.asm
@@ -772,7 +772,7 @@ KenData:
db $04
db $1e
db $00
- dw ScriptKen ; Pointer to Script
+ dw Script_Ken ; Pointer to Script
tx Text03d3
db KEN_PIC
db FIRE_CHARGE_DECK_ID
diff --git a/src/engine/bank03.asm b/src/engine/bank03.asm
index ea909f3..ecf6d2d 100644
--- a/src/engine/bank03.asm
+++ b/src/engine/bank03.asm
@@ -2210,12 +2210,12 @@ ScriptCommand_ShowCardReceivedScreen: ; cee2 (3:4ee2)
xor a
jr .asm_cef0
-Func_cf0c: ; cf0c (3:4f0c)
+ScriptCommand_CheckIfCardInCollectionOrDecks: ; cf0c (3:4f0c)
ld a, c
call GetCardCountInCollectionAndDecks
jr asm_cf16
-Func_cf12: ; cf12 (3:4f12)
+ScriptCommand_CheckIfCardInCollection: ; cf12 (3:4f12)
ld a, c
call GetCardCountInCollection
@@ -3627,14 +3627,14 @@ Script_Ishihara: ; db4a (3:5b4a)
tx Text072c
.ows_dba8
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $ac
dw .ows_dbaf
run_command ScriptCommand_PrintTextQuitFully
tx Text072d
.ows_dbaf
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $ac
dw .ows_dbb6
run_command ScriptCommand_PrintTextQuitFully
@@ -3679,14 +3679,14 @@ Script_Ishihara: ; db4a (3:5b4a)
tx Text072c
.ows_dbe1
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $bb
dw .ows_dbe8
run_command ScriptCommand_PrintTextQuitFully
tx Text0734
.ows_dbe8
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $bb
dw .ows_dbef
run_command ScriptCommand_PrintTextQuitFully
@@ -3731,14 +3731,14 @@ Script_Ishihara: ; db4a (3:5b4a)
tx Text072c
.ows_dc1a
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $b8
dw .ows_dc21
run_command ScriptCommand_PrintTextQuitFully
tx Text073a
.ows_dc21
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $b8
dw .ows_dc28
run_command ScriptCommand_PrintTextQuitFully
@@ -3988,7 +3988,7 @@ Script_Gal1: ; e0cf (3:60cf)
run_command ScriptCommand_QuitScriptFully
.ows_e0eb
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $59
dw .ows_e0f3
run_command ScriptCommand_PrintTextString
@@ -3996,7 +3996,7 @@ Script_Gal1: ; e0cf (3:60cf)
run_command ScriptCommand_QuitScriptFully
.ows_e0f3
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $59
dw .ows_e0fb
run_command ScriptCommand_PrintTextString
@@ -4755,14 +4755,14 @@ Script_e61f: ; e61f (3:661f)
tx Text06ee
.ows_e648
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $1c
dw .ows_e64f
run_command ScriptCommand_PrintTextQuitFully
tx Text06ef
.ows_e64f
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $1c
dw .ows_e656
run_command ScriptCommand_PrintTextQuitFully
@@ -4805,14 +4805,14 @@ Script_e61f: ; e61f (3:661f)
tx Text06f6
.ows_e67f
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $ab
dw .ows_e686
run_command ScriptCommand_PrintTextQuitFully
tx Text06f7
.ows_e686
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $ab
dw .ows_e68d
run_command ScriptCommand_PrintTextQuitFully
@@ -4855,14 +4855,14 @@ Script_e61f: ; e61f (3:661f)
tx Text06fd
.ows_e6b6
- run_command Func_cf0c
+ run_command ScriptCommand_CheckIfCardInCollectionOrDecks
db $32
dw .ows_e6bd
run_command ScriptCommand_PrintTextQuitFully
tx Text06fe
.ows_e6bd
- run_command Func_cf12
+ run_command ScriptCommand_CheckIfCardInCollection
db $32
dw .ows_e6c4
run_command ScriptCommand_PrintTextQuitFully
@@ -5237,7 +5237,7 @@ Script_ee76: ; ee76 (3:6e76)
INCROM $ee88, $ef22
-ScriptKen: ; ef22 (3:6f22)
+Script_Ken: ; ef22 (3:6f22)
start_script
run_command ScriptCommand_TryGivePCPack
db $09
diff --git a/src/engine/bank04.asm b/src/engine/bank04.asm
index 13df81b..3a9605e 100644
--- a/src/engine/bank04.asm
+++ b/src/engine/bank04.asm
@@ -982,8 +982,8 @@ OverworldScriptTable: ; 1217b (4:617b)
dw ScriptCommand_MoveActiveNPCByDirection
dw ScriptCommand_CloseTextBox
dw ScriptCommand_GiveBoosterPacks
- dw Func_cf0c
- dw Func_cf12
+ dw ScriptCommand_CheckIfCardInCollectionOrDecks
+ dw ScriptCommand_CheckIfCardInCollection
dw ScriptCommand_GiveCard
dw ScriptCommand_TakeCard
dw Func_cf53
diff --git a/src/macros/scripts.asm b/src/macros/scripts.asm
index bd1a58f..032299d 100644
--- a/src/macros/scripts.asm
+++ b/src/macros/scripts.asm
@@ -27,8 +27,8 @@ ENDM
const ScriptCommand_MoveActiveNPCByDirection_index ; $0a
const ScriptCommand_CloseTextBox_index ; $0b
const ScriptCommand_GiveBoosterPacks_index ; $0c
- const Func_cf0c_index ; $0d
- const Func_cf12_index ; $0e
+ const ScriptCommand_CheckIfCardInCollectionOrDecks_index ; $0d
+ const ScriptCommand_CheckIfCardInCollection_index ; $0e
const ScriptCommand_GiveCard_index ; $0f
const ScriptCommand_TakeCard_index ; $10
const Func_cf53_index ; $11