Primary Zelda Hacking
April 21, 2014, 09:38:15 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: Custom Introduction to Boss  (Read 403 times)
Zeemis
Newcomer
*
Offline Offline

Posts: 14



View Profile
« on: May 16, 2011, 03:52:02 PM »

The purpose of this script is to add two blocks to the corresponding ladders entrances. Once the boss is defeated, they're removed and several blocks appear over the open pit so Link can travel across it and climb to the next ladder.
If you see anything wrong with the script, please tell me. I may need to make two scripts; however, I'd like it to be one.


Code:
writelocation BEB4
checkspecialflag
checkmemory D00b 18
checkmemory D00d 18
setcoords 18 18
createpuff
setdelay5
settile 3E
setcoords 8 D8
createpuff
settile 3E
checkenemycount
setcoords 8 D8
createpuff
settile 17
setcoords A8 58
createpuff
settile 3E
setcoords A8 68
createpuff
settile 3E
setcoords A8 78
createpuff
settile 3E
setcoords A8 88
createpuff
settile 3E
setcoords A8 98
createpuff
settile 3E
setroomflag 80

-------------
Edit, script worked for the beginning part lol. Link got stuck inside the block, I thought it would have auto-delayed the placement of the tile until Link stepped over it. I guessed wrong.
« Last Edit: May 17, 2011, 04:17:57 PM by Zeemis » Logged

::Contact::
Skype: Zemious
YouTube: www.YouTube.com/user/Zeemis
Website: www.FF6Hacking.com
Mue
Newcomer
*
Offline Offline

Posts: 23


View Profile
« Reply #1 on: May 17, 2011, 05:50:23 AM »

Use checkmemory DOOB 10 at the start of your script after the writelocations so you can guarantee the player doesn't get in the block.
Logged
Zeemis
Newcomer
*
Offline Offline

Posts: 14



View Profile
« Reply #2 on: May 17, 2011, 04:19:07 PM »

I got the script working when I moved it down one tile; Link can't spawn on it in a side scroller type level.
Updated the script with a working one.
Logged

::Contact::
Skype: Zemious
YouTube: www.YouTube.com/user/Zeemis
Website: www.FF6Hacking.com
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!