Primary Zelda Hacking

Oracles Hacking => Help => Topic started by: Zeemis on May 15, 2011, 08:52:46 PM



Title: Spawning Chest after defeated enemies
Post by: Zeemis on May 15, 2011, 08:52:46 PM
A lot of this script is from Fatories script (http://zeldahacking.ulmb.com/index.php?topic=189.0).
Code:
writelocation BE96
setinteraction72 0
checkspecialflag
CheckEnemyCount
PlaySound 4d
setcoords 68 78
CreatePuff
settile F1
setmusic 17
setroomflag 80


Script doesn't work. :/


Title: Re: Spawning Chest after defeated enemies
Post by: Lin on May 15, 2011, 10:28:04 PM
Why are you writing in the C bank (30000-33FFF)? You're using a mixture between the old skeleton and the new one, and it's probably what's causing the fail. And createpuff has no parameters. You also have settile wrong. Look at the documentation and see if you're doing things right before asking questions.

http://zeldahacking.ulmb.com/ZOSE.html


Title: Re: Spawning Chest after defeated enemies
Post by: Zeemis on May 16, 2011, 12:02:48 AM
Thanks to Fatories, the script now works.
My script was pretty much working, just needed a little tuning, such as coordinates and other things.