Jump to content

Photo

Zasm item scripts


  • Please log in to reply
9 replies to this topic

#1 Revfan9

Revfan9

    Hero of Time

  • Banned
  • Real Name:Dr. Pajamas
  • Location:In front of a screen

Posted 26 February 2007 - 01:11 AM

Well, here are a few Zasm item scripts, now that we have the ability to make them.

Move Link 4 tiles in whatever direction he's facing.

DAH MATRIX. It's suppossed to freeze everything on the screen, but Link can still move (slowly), and it costs MP. But it doesn't quite work yet, as it's difficult to make loops with item scripts. More on that one later.

Majora's_Wrath's request.

#2 ShadowTiger

ShadowTiger

    The Doctor Is In

  • Members

Posted 26 February 2007 - 09:21 AM

Does that first script take walkability into account?


Can you make one that sends him backwards two combos too? icon_razz.gif

#3 Revfan9

Revfan9

    Hero of Time

  • Banned
  • Real Name:Dr. Pajamas
  • Location:In front of a screen

Posted 07 March 2007 - 05:37 PM

Well, you have to edit the script yourself to change the distances. It's so annoying that you can't pre-set registers in item scripts. Well, here it is...

CODE
COMPAREV LINKDIR,0
GOTOTRUE UP
COMPAREV LINKDIR,1
GOTOTRUE DOWN
COMPAREV LINKDIR,2
GOTOTRUE LEFT
COMPAREV LINKDIR,3
GOTOTRUE RIGHT
UP SUBV LINKY,-32
QUIT
DOWN ADDV LINKY,-32
QUIT
LEFT SUBV LINKX,-32
QUIT
RIGHT ADDV LINKX,-32
QUIT


Even though, to be honest, I think this script would work better if it was a global script.


CODE
COMPAREV INPUTR,1
GOTOTRUE MOV
QUIT
MOV COMPAREV LINKDIR,0
GOTOTRUE UP
COMPAREV LINKDIR,1
GOTOTRUE DOWN
COMPAREV LINKDIR,2
GOTOTRUE LEFT
COMPAREV LINKDIR,3
GOTOTRUE RIGHT
UP SUBV LINKY,-32
QUIT
DOWN ADDV LINKY,-32
QUIT
LEFT SUBV LINKX,-32
QUIT
RIGHT ADDV LINKX,-32
QUIT


#4 Limzo

Limzo

    _

  • Members

Posted 12 March 2007 - 02:34 PM

What is Majora's request?

#5 Revfan9

Revfan9

    Hero of Time

  • Banned
  • Real Name:Dr. Pajamas
  • Location:In front of a screen

Posted 12 March 2007 - 02:39 PM

Just a script that makes an FFC cover Link.

#6 Limzo

Limzo

    _

  • Members

Posted 12 March 2007 - 02:40 PM

Oh, that's helpful. Sort of. Does it make Link invisible?

#7 Revfan9

Revfan9

    Hero of Time

  • Banned
  • Real Name:Dr. Pajamas
  • Location:In front of a screen

Posted 12 March 2007 - 07:17 PM

If the tile of the FFC covering it is the same as the one underneath. I think one that would work better would be to check the "invisible link" screen flag, but I'm not sure how to do that.

Edited by Revfan9, 12 March 2007 - 07:18 PM.


#8 Limzo

Limzo

    _

  • Members

Posted 14 March 2007 - 03:25 PM

Oh that? It is in the screen data dialogue box, right under "No subscreen"

#9 Revfan9

Revfan9

    Hero of Time

  • Banned
  • Real Name:Dr. Pajamas
  • Location:In front of a screen

Posted 14 March 2007 - 03:35 PM

No, I mean being able to turn it on and off with scripts.

#10 Majora

Majora

    Unironic Marxist-Leninist

  • Members

Posted 14 March 2007 - 03:37 PM

In my case, I doubt the tile I will use will have no other use but to be a FFC that animates so it looks like Link playing an Ocarina


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users