Identify and eliminate wEngineBuffer1-5

This commit is contained in:
Rangi
2019-04-08 18:50:10 -04:00
parent ec8869584f
commit 2184b60a0c
19 changed files with 194 additions and 164 deletions

View File

@@ -12,7 +12,7 @@ RepelWoreOffScript::
HiddenItemScript::
opentext
readmem wEngineBuffer3
readmem wHiddenItemID
getitemname STRING_BUFFER_3, USE_SCRIPT_VAR
writetext .found_text
giveitem ITEM_FROM_MEM
@@ -42,7 +42,7 @@ HiddenItemScript::
text_end
SetMemEvent:
ld hl, wEngineBuffer1
ld hl, wHiddenItemEvent
ld a, [hli]
ld d, [hl]
ld e, a