Comet 64 – Post Voodoo Program

Some code for you to try after unlocking the voodoo file in your game.

Bouncing Ball

I would recommend waiting to try this after unlocking the Voodoo file on your game.

reg = 22; // pick between 2 / 23
int = 3; // pick between 2 / 12

jump to: Downright; 
// pick between:
// "Upright"
// "Upleft"
// "Downright"
// "Downleft"


Downright: // move ball down - right

//print "reg: " +reg +"| int: " +int;

check reg > 23; // incase it is in a corner
jump if true: Downleft;

output = reg, int;
draw;
output = reg, int;
draw;

int++;
reg++;

check int > 12;
jump if true: Upright;
check reg > 23;
jump if true: Downleft;
jump if false: Downright;

// ====================================
Downleft: // move ball down - left

// print "reg: " +reg +"| int: " +int;

output = reg, int;
draw;
output = reg, int;
draw;

int++;
reg--;

check int > 12;
jump if true: Upleft;
check reg < 2;
jump if true: Downright;
jump if false: Downleft;

// ====================================

Upright: // move ball up - right

// print "reg: " +reg +"| int: " +int;

check reg > 23; // incase in a corner
jump if true: Upleft;

output = reg, int;
draw;
output = reg, int;
draw;

int--;
reg++;

check int < 2;
jump if true: Downright;
check reg > 23;
jump if true: Upleft;
jump if false: Upright;

// ======================================

Upleft: // move ball up - left

// print "reg: " +reg +"| int: " +int;

output = reg, int;
draw;
output = reg, int;
draw;

int--;
reg--;

check int < 2;
jump if true: Downleft;
check reg < 2;
jump if true: Upright;
jump if false: Upleft;
Helena Stamatina
About Helena Stamatina 2715 Articles
My first game was Naughty Dog’s Crash Bandicoot (PlayStation) back in 1996. And since then gaming has been my main hobby. I turned my passion for gaming into a job by starting my first geek blog in 2009. When I’m not working on the site, I play mostly on my PlayStation. But I also love outdoor activities and especially skiing.

Be the first to comment

Leave a Reply

Your email address will not be published.


*