********** PROBABILITY ********** This, admittedly brief, section covers random events, or, more specifically, the random number values used by sprites when doing something randomly. The program takes the random number it generates and looks to see if it is bigger than the numbers shown here. If it is, it does something, if not, it does (OR doesn't do) something else. Most often this value is $80 (128) which is '50/50' (Your maximum and minium values are thus $00 and $FF) Using this section allows you to control how often things happen. Your best bet it to stick to multiples of 10 and to remember that $80 does not mean 'half the time' but more like 'on average' Slugs, for example when set to $FF slime every 2 seconds, at $00 never, and at $80 about once every 30 seconds. Sadly not all random behavior is governed this way, some take a random number and compare it to another random value in memory. (The most popular is DS:A54C) The Skypest does this. You cannot change these probbabilities. (Yet.) ********** ARACHNUTS ********** #Probbability of initially moving right %patch $10549 $80 ********** BERKELOIDS ********** #Spawn right or left %patch $10BD6 $80 #Randomly turn to face Keen %patch $10C1C $20 #Flame throwing fequency %patch $10C3D $08 #Normally %patch $10C52 $40 #If Keen is close and Berk is facing him ********** BIRDS ********** #Randomly land when Keen is on ground #($00, Birds never land) %patch $10489 $80 ********** BOUNDER ********** #Directions Bounder randomly bounces: %patch $11245 $FF $FF #Left %patch $11253 $01 $00 #Right %patch $115A $00 $00 #Up and down ********** COUNCIL MEMBER ********** #Probability of starting right or left %patch $FD24 $80 ********** DOPEFISH ********** #Spawn left or right frequency %patch $120F0 $80 ********** INCHWORM ********** #Spawn left or right frequency %patch $10EEA $80 ********** KEEN ********** #Swimming Keen: Probbability of dying 'clutched' %patch $CC37 $80 #Keen: Probability of dying 'clutched' %patch $CC67 $80 ********** LICK ********** #Spawn left or right frequency %patch $11300 $80 ********** POISON SLUG ********** #Spawn moving right or left %patch $FDB9 $80 #Sliming frequency %patch $FDF6 $10 #Probbability of shot slug being 'small' %patch $FE8E $80 ********** SKYPEST ********** #Spawn r/l or u/d movement: %patch $1061F $80 #r/l %patch $1063D $80 #u/d #Change vertical motionrandomly ($FF $FF to remove, only controls 25% of switches) %patch $10695 $01 $00 ********** SMIRKY ********** #How predictable is Smirky are when teleporting: %patch $11A69 $80 ********** WORMOUTH ********** #Spawned moving right or left %patch $10841 $80 #Look around frequency %patch $10906 $06