Modding MI

Variable Lists
          _root
          pgen



These Variable Lists show the name and function of all the variables in certain places.
The second column tells you what type of variable it is - number, string, boolean, array or reference. If it does not say what type of variable it is, it is a number.
Redundant variables are variables that are no longer used in the game, and may as well be removed.



_root
accy          Calculated accuracy.
activeguysNumber of currently active people.
activeenNumber of currently active NPCs.
adispStringFormatted accuracy.
aiBooleanEnemy AI Toggle.
aispeedMovement speed of NPCs.
allrocketBooleanApollo cheat
allwaysinvincibleBooleanRedundant
alwaysinvincibleBooleanWillis cheat
ammoArrayDifferent Weapons' Ammunition
apartPercentage accuracy.
armlengthPlayer Character Armlength.
arnoldBooleanArnold cheat
beardPlayer Character's Beard
beardslistArrayBeard Menu
bloodlistArrayRedundant
bloodsprayArrayList of currently active blood particles.
botspaceSpace below menu item being created in menu being created.
btrAmount of Bullet Time left.
btypesArrayDifferent Weapons' Bullet Types
bulletdensDensity of bullets.
bulletspeedSpeed of bullets in Bullet Time.
byDefault vertical position for menu list items.
ceilVertical ceiling position.
cemessageStringSays if you cheated.
chReferenceGib Chunk Reference
challengesArrayChallenge Menu
characterArrayCharacter Menu
cheaterArrayCheat Menu
colReferenceRedundant
controlsArrayControls Menu
crazyArrayCrazy costume type.
creditmenuArrayCredits Menu
dTrigonometry. Distance between a person and an explosion.
dpartDeaths percentage.
detailGraphic Quality when generating blood, shadows, bullets and shells.
didgibBooleanWhether someone should Gib.
displayArrayDisplay Menu
divheightHeight of menu being created.
divlistNumber of list items in menu being created.
divsizeAvailable height for each list item in menu being created.
dlistArrayDetail Menu
endchallengeArrayEnd of Challenge Menu
endchallengescoreArrayEnd of Challenge Score Menu
endtimechallengeArrayEnd of Time Challenge Menu
enemies_hitNumber of shots Player Character has fired that have hit an enemy.
enemygunsArrayList of weapons available to the enemy.
expReferenceExplosion Reference
expausemenuArrayExperiment Pause Menu
experimentBooleanWhether the current game type is Experiment.
expinfomenuArrayExperiment Information Menu
flashlistArrayRedundant
qameframeNumber of frame the game is played in.
giveminigunBooleanMinnie cheat
gibReferenceGiblet Reference
gibletsArrayList of current giblets.
glassesPlayer Character's Glasses
glasseslistArrayGlasses Menu
groundVertical ground position.
gtimeStringTotal game time (formatted).
gumpBooleanGump cheat
hatPlayer Character's Hat
hatslistArrayHat Menu
heightStage Height.
highjumpBooleanHop cheat
highlevelDepths when generating the Interface.
hmndeathsNumber of times Player Character has died.
hoursTime taken in hours.
hudStringHUD Message.
humanspeedMovement speed of Player Character.
imageArrayRedundant
infammoBooleanFlcl cheat
infbtBooleanRedundant
infomenuArrayInformation Menu
invincibilityBooleanPlayer Character Invincibility Toggle.
isceilBooleanWhether people and objects can pass through ceiling.
ischeatingWhether cheats are being used.
isjesusBooleanWhether Jesus is currently in the game.
jesuscArrayJesus costume type.
jumpPlayer Character's jump height.
kBooleanIdentifies in which direction an explosion should throw someone.
keysArrayList of key codes.
kiArrayList of key names.
knifingBooleanWhether the current game type is the Knifing Around Challenge.
kstVariable for finding key names.
kstringNumber of enemies Player Character has killed since last death.
laserguideBooleanGuide cheat
lasermodeBooleanWhether the current game type is the Lasers Challenge.
levelDepths when generating Blood, Explosions and Menus.
lowlevelDepths when generating Characters and Weapons.
ltypeType of list item being created in menu being created.
mainArrayMain Menu
maingameBooleanWhether the current game type is the Main Game.
matrixBooleanWhether the current game type is the Matrix Challenge.
maxHorizontal right wall position.
maxstringMaximum number of enemies Player Character has killed before dying.
maxwallBooleanWhether objects can pass through right wall.
menusArrayList of menus currently active.
midNumber of menus currently active.
minHorizontal left wall position.
minsTime taken in minutes.
minwallBooleanWhether objects can pass through left wall.
moReferenceMenu Item [type 3] Reference
multiloadBooleanWhether to load music on menu load.
ninjaArrayNinja costume type.
numgunsNumber of weapons available to enemies.
numkilledNumber of enemies Player Character has killed.
oldArrayOld costume type.
optionsArrayOptions Menu
partsecsRounded time taken in seconds.
pauseBooleanWhether the game is paused.
pickupsArrayList of current pickups.
pxsArrayHorizontal positions of corners of menu being created.
pysArrayVertical positions of corners of menu being created.
qlistArrayQuality Menu
ratingCalculated rating.
regpausemenuArrayPause Menu
runspeedSpeed of the game.
sbufferHorizontal buffer for contained list items in menu being created.
scoreCurrent score (in some Challenges).
secsTime taken in seconds.
sheriffcArraySheriff costume type.
shotsfiredNumber of shots Player Character has fired.
smReferenceMenu Item [type 2] Dropdown Reference
smithsArraySmiths costume type.
songnameStringName of song currently playing.
spReferenceBloodspray Reference
sscaleHorizontal buffer for menu being created.
stoNumber of menu being created.
streetArrayStreet costume type.
suitPlayer Character's Suit
suitslistArraySuit Menu
swReferenceMenu Item [type 1] Toggle Reference
tCycles through potential targets.
targetsArrayList of potential targets.
tbReferenceMenu Header Area Reference
timeleftTime left before end of game (in some Challenges).
topspaceSpace above menu item being created in menu being created.
totaltimeTotal game time.
tpartTime percentage.
tutorialBooleanWhether the current game type is the Tutorial.
twWidth of header text for menu being created.
txReferenceMenu Item [type 2] Dropdown Text Reference
ubgReferenceMenu Item [type 012] Reference
ubuReferenceMenu Item [type 0] Button Reference
ucReferenceMenu Corner Reference
udUsed for explosion-based damage.
ueReferenceMenu Header End Reference
ufReferenceRedundant
uhHeight of menu being created.
uhlReferenceMenu Header Line Reference
uhtReferenceMenu Header Text Reference
uhiReferenceMenu Item [type 0] Image Reference
ulReferenceMenu Line Reference
usemusicBooleanMusic Toggle.
utxReferenceMenu Item [type 01] Text Reference
uwWidth of menu being created.
uxHorizontal position of menu being created.
uyVertical position of menu being created.
widthStage Width.
wxHorizontal position of list item being created in menu being created.
xdHorizontal distance between a person and an explosion.
xvHorizontal velocity an explosion throws someone.
ydVertical distance between a person and an explosion.
zombieBooleanWhether the current game type is the Zombies Challenge.



pgen
alight     Boolean     Whether the character is burning.
bReferenceWound Reference
deadBooleanWhether the character is dead.
deadhitsNumber of times character has been hit after it died.
ddelayTime since the character was last hit.
dyingWhether the character is dying.
electroHow much the character has been electrocuted.
fDirection the character is facing.
flameReferenceFlame Reference
forceHorizontal forced movement.
halfsizeThe horizontal center of the target.
hasburnedBooleanWhether the character has been burnt.
hasenteredBooleanWhether the character has entered the stage.
hasgivenBooleanWhether the character's death has already added to the Bullet Time Meter.
haslandedBooleanWhether the character has landed on the floor.
healthThe character's remaining health.
hmnBooleanWhether the character is the Player Character.
idThe personal ID of the character.
isregisteredBooleanWhether the character has been registered as a potential target.
jesusBooleanWhether the character is Jesus.
kOn which side the target was hit.
leftBooleanAI. Whether the Player Character is to the left of the NPC.
myflamesArrayList of flames currently attached to burning character.
pimmunityCharacter's punch immunity.
rightBooleanAI. Whether the Player Character is to the right of the NPC.
rspeedFalling Rotation Speed (post-mortem).
sReferenceBloodspray Reference
stReferenceStuck Weapon Reference
saverotThe rotation of the head.
targetWhere the character has been hit (body or head).
tdHorizontal distance between a character and another character.
tydVertical distance between a character and another character.
usejetpackBooleanWhether the character is using his jetpack (if he has one).
yforceVertical forced movement.
zdcZombie Defence Modifier while Jesus is on-screen.