User Tag List

Results 1 to 2 of 2

Thread: aLttP-style pushable 1x2 blocks

  1. #1
    Octorok Imprisoned's Avatar
    Join Date
    Oct 2006
    Posts
    406
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,621
    Level
    13
    vBActivity - Bars
    Lv. Percent
    53.91%

    aLttP-style pushable 1x2 blocks

    I was mainly looking for Saffith's script but the links were broken... if someone has the script, please.

  2. #2
    Octorok
    Join Date
    Oct 2004
    Age
    47
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,254
    Level
    12
    vBActivity - Bars
    Lv. Percent
    9.8%

    Re: aLttP-style pushable 1x2 blocks

    I think this is it..... I have never used it, but he is where I got it from.
    in case you didn't get it yet., no point in asking first, for anyone else
    it's here.



    MULTV d1, 16 ; Find the combo type at the given
    ADDR d0, d1 ; position and load it into d1
    SETR d1, combodd
    wait COMPARER combodd, d1 ; Wait until the block is pushed
    GOTOFALSE pushed
    WAITFRAME
    GOTO wait
    pushed COMPAREV linkdir, 0 ; Determine which way the block
    GOTOTRUE up ; was pushed based on which way
    COMPAREV linkdir, 1 ; Link is facing
    GOTOTRUE down
    COMPAREV linkdir, 2
    GOTOTRUE left
    GOTO right
    up SETV d2, 16 ; Move upward 1 pixel every other frame
    upLoop SUBV y, 1 ; for 32 frames
    WAITFRAME
    WAITFRAME
    SUBV d2, 1
    COMPAREV d2, 0
    GOTOFALSE upLoop
    SUBV d0, 16 ; Adjust the position of the combo
    GOTO wait ; being tracked and go back to waiting
    down SETV d2, 16 ; Move downward
    downLoop ADDV y, 1
    WAITFRAME
    WAITFRAME
    SUBV d2, 1
    COMPAREV d2, 0
    GOTOFALSE downLoop
    ADDV d0, 16
    GOTO wait
    left SETV d2, 16 ; Move left
    leftLoop SUBV x, 1
    WAITFRAME
    WAITFRAME
    SUBV d2, 1
    COMPAREV d2, 0
    GOTOFALSE leftLoop
    SUBV d0, 1
    GOTO wait
    right SETV d2, 16 ; Move right
    rightLoop ADDV x, 1
    WAITFRAME
    WAITFRAME
    SUBV d2, 1
    COMPAREV d2, 0
    GOTOFALSE rightLoop
    ADDV d0, 1
    GOTO wait
    -----------------------------------------------------
    NEWEST QUESTS:
    -----------------------------------------------------
    ZC 2.5 build 635+ (Player): Origins III
    -----------------------------------------------------
    visit my web site, for all my quests Einstein Games

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social