From 7cc320e835497fbf7f7a66d47cc6351b571c32e7 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 30 Aug 2013 17:50:08 -0400 Subject: Coins in main.asm --- engine/scripting.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/scripting.asm') diff --git a/engine/scripting.asm b/engine/scripting.asm index 3bd652ea0..61ebae935 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -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 -- cgit v1.2.3 From c9d3881a2ffa4e3bdb5e5c12d98c20c0bba1e400 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 30 Aug 2013 22:59:40 -0400 Subject: rename RNG to Random also fix 'Far' naming scheme for BattleRandom this was a long time coming --- engine/scripting.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/scripting.asm') diff --git a/engine/scripting.asm b/engine/scripting.asm index 61ebae935..d497f9a4e 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 -- cgit v1.2.3 From b333b18dbde658cd7e4299f8206d1d52c532b87a Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 30 Aug 2013 23:07:08 -0400 Subject: Function2f79 is PickUpItem --- engine/scripting.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/scripting.asm') diff --git a/engine/scripting.asm b/engine/scripting.asm index d497f9a4e..5d44d1a8e 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -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 -- cgit v1.2.3