Primary Zelda Hacking
April 21, 2014, 09:24:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Zelda Oracles Hacking Suite beta version: 0.05
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Custom Event  (Read 559 times)
Lin
ZOLE Creator
Administrator
Hero Member
*****
Online Online

Posts: 580



View Profile
« on: October 29, 2010, 02:44:18 AM »


This is an old post, using an old version of ZOSE. Although the script code will still be provided and some of it can still be used as an example, it is outdated and it is recommended you don't follow it for your script if you are using ZOSE 1.05 or a later version

Here's something I made to test ZOSE. Surprisingly, it all worked great.

http://www.youtube.com/watch?v=HTHGiBwLxvE

Here's the code for it:
Code:
writelocation 33FA6
setinteraction72 0
jump3byte 1BA3A

writelocation 1BA3A
checkspecialflag
setmusic 3A
checkmemory d00b 66
setcoords 78 18
createpuff
setdelay5
settile CE
setdelay6
setdelay6
setcoords 28 28
playsound 41
createpuff
setdelay5
setcoords 38 58
playsound 41
createpuff
setdelay5
setcoords 68 68
playsound 41
createpuff
setdelay6
setdelay6
spawnenemy 31 1 28 28
spawnenemy 31 1 38 58
spawnenemy 31 1 68 68
setmusic 2D
checkenemycount
setdelay5
setmusic 3A
playsound 4D
setcoords 28 78
createpuff
setdelay5
settile F1
setroomflag 80
setcoords 0 0

~Lin
« Last Edit: May 04, 2011, 08:19:27 PM by Fatories » Logged
Fatories
LALE Creator
Administrator
Full Member
*****
Offline Offline

Posts: 223



View Profile
« Reply #1 on: October 29, 2010, 07:07:19 PM »

This is actually extremely awesome and I understand it Cheesy Can't wait for ZOSE to come out.
« Last Edit: October 29, 2010, 07:09:08 PM by Fatories » Logged

The force of a true man can penetrate all. Nothing is safe.
Supreme Dirt
Jr. Member
**
Offline Offline

Posts: 64


View Profile
« Reply #2 on: October 30, 2010, 06:50:23 PM »

"checkspecialflag"... What is this?
Logged
Jigglysaint
Hacking Guru
Full Member
*****
Offline Offline

Posts: 150


View Profile
« Reply #3 on: October 31, 2010, 03:37:04 AM »

The special flag is bit 7, and is used in various things like lock blocks, boss battles, and other things.  That being said if you put a lock block in the same room as a boss, unlocked it and left the room,when you return the boss will be defeated.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!