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

Login with username, password and session length
News: There is now an official Primary Zelda Hacking Press!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Hooded Stalfos Overworld Miniboss  (Read 795 times)
Gamma 31
Jr. Member
**
Offline Offline

Posts: 98


View Profile
« on: November 14, 2010, 01:51:39 AM »

Here's a little battle I made up within two hours. It causes rocks (Tile 74) to block the exits and spawns a Stalfos. The rocks disappear when the Stalfos is beaten, and it doesn't return. Now, I wanted to have the Miniboss be the Giant Ghini (Level 1), but it wouldn't spawn; Would I need an extra interaction to get bosses/minibosses to spawn correctly? Also, ZOLE frequently reverted to an older version of the ROM; could this be related to ZOSE?

Code:
writelocation 33FF8
setinteraction72 0
jump3byte 1FEC5

writelocation 1FEC5
checkspecialflag
setmusic 2D
checkmemory D00B 65
checkmemory D00B 64
setcoords 18 58
createpuff
setcoords 18 58
settile 74
setcoords 78 48
createpuff
setcoords 78 48
settile 74
setcoords 78 58
createpuff
setcoords 78 58
settile 74
spawnenemy 49 0 38 58
checkenemycount
setcoords 18 58
createpuff
setcoords 18 58
settile 3A
setcoords 78 48
createpuff
setcoords 78 48
settile 3A
setcoords 78 58
createpuff
setcoords 78 58
settile 3A
setmusic 03
setroomflag 80


NOTE: A few times VBA gave me an opcode error, and the first time I compiled the script the screen got glitched after a few seconds of being in the screen the interaction was on. It hasn't glitched since, though.
Logged
Lin
ZOLE Creator
Administrator
Hero Member
*****
Online Online

Posts: 580



View Profile
« Reply #1 on: November 14, 2010, 02:10:40 AM »

It would be great if you could tell me the unknown opcode error message. I, as well as others, have gotten that. Few reports on the actual detail of the message like the opcode and location have been reported though.

Cool script by the way. Every time you compile your ROM with ZOSE and you have ZOLE open, you need to re-open it in ZOLE (or ZOSE). This is even stated in the FAQ topic for ZOLE. As for the boss, I'm not sure. I haven't messed with those.
Logged
Gamma 31
Jr. Member
**
Offline Offline

Posts: 98


View Profile
« Reply #2 on: November 14, 2010, 02:20:33 AM »

Thanks! I'll make sure to look out for those errors in the future.
Logged
Jigglysaint
Hacking Guru
Full Member
*****
Offline Offline

Posts: 150


View Profile
« Reply #3 on: November 14, 2010, 07:48:52 PM »

The giant Ghini miniboss would be simplier to add as an actual enemy and have the script operate the rocks.  In fact the ghini miniboss also contains code that advances Link up a few squares, and that could even be altered to extend how far link travels.  You need to use F4 as an interaction type to set a boss or miniboss.  It could also just be that minibosses just don't work in the overworld.
Logged
Gamma 31
Jr. Member
**
Offline Offline

Posts: 98


View Profile
« Reply #4 on: November 14, 2010, 08:25:30 PM »

It seems like the latter is the case;putting the two Mini/boss interactions related to it in an overworld map just leads to Link walking up a few paces and then stopping. Oh, well.
Logged
Jigglysaint
Hacking Guru
Full Member
*****
Offline Offline

Posts: 150


View Profile
« Reply #5 on: November 15, 2010, 04:01:20 AM »

I've had that happen in dungeons when I entered by the wrong direction.  I wonder if there is a limitation as to what direction you need to enter from, or if it looks for a door interaction for it to work properly.
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!