summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-31 07:20:25 -0700
committerBryan Bishop <kanzure@gmail.com>2013-08-31 07:20:25 -0700
commit97ef590f9ec7a7ae38d98b7cf1fd6947b10b711e (patch)
tree7f9285b3c63c1704af9cad820f10d047b4a9d7a9 /engine/scripting.asm
parent73905420f8a4646fadb6049e9979df8e0a23b3d4 (diff)
parent2acccc3ea5d5ebdd54cddc6cb7a3c888428be286 (diff)
Merge pull request #180 from yenatch/master
label renaming
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm
index 3bd652ea0..5d44d1a8e 100644
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -1988,7 +1988,7 @@ Script_random: ; 0x97640
ld b, a
.asm_97653
push bc
- call RNG
+ call Random
pop bc
ld a, [$ffe1]
cp b
@@ -1996,7 +1996,7 @@ Script_random: ; 0x97640
jr .asm_97666 ; 0x9765d $7
.asm_9765f
push bc
- call RNG
+ call Random
pop bc
ld a, [$ffe1]
.asm_97666
@@ -2217,7 +2217,7 @@ Script_readcoins: ; 0x97747
call Unknown_0x97771
ld hl, StringBuffer1
- ld de, $d855
+ ld de, Coins
ld bc, $4206
call PrintNum
ld de, StringBuffer1
@@ -2363,7 +2363,7 @@ Script_checkitem: ; 0x97812
call GetScriptByte
ld [$d106], a
ld hl, $d892
- call Function2f79
+ call PickUpItem
ret nc
ld a, $1
ld [$c2dd], a