Rename more script commands for consistency and predictability

Fixes #540
This commit is contained in:
Rangi
2019-03-10 15:31:59 -04:00
parent 6393ecb7e5
commit e002b536af
157 changed files with 1494 additions and 1004 deletions

View File

@@ -1,8 +1,8 @@
FruitTreeScript::
callasm GetCurTreeFruit
opentext
copybytetovar wCurFruit
itemtotext USE_SCRIPT_VAR, MEM_BUFFER_0
readmem wCurFruit
getitemname STRING_BUFFER_3, USE_SCRIPT_VAR
writetext FruitBearingTreeText
buttonsound
callasm TryResetFruitTrees
@@ -14,7 +14,7 @@ FruitTreeScript::
.fruit
writetext HeyItsFruitText
copybytetovar wCurFruit
readmem wCurFruit
giveitem ITEM_FROM_MEM
iffalse .packisfull
buttonsound