EvilEngine/COND

From Heavy Iron Modding
< EvilEngine(Redirected from COND)

COND
Conditional
TypeBase
Base Type0x1F
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

Ratatouille Prototype
Source codezConditional.h

A conditional is an asset which evaluates a condition upon receiving the Evaluate event. It will fire a different event depending on the result (true or false). The "input value" (value of variable) is checked against the Evaluation Amount using the operation specified in Operation.

Format[edit]

Conditionals are base assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x08 int constNum Evaluation Amount
0x0C AssetID exprl Variable
0x10 int op Operation
0x14 AssetID value_asset Sub Variable. Not present in Scooby
Events
0x18 Event[numberOfEvents] Events

Variables[edit]

Night of 100 Frights[edit]

Value Description
8774A0EB Chances
1BAA8CDE Scooby Snacks
29600EB0 Sound mode
25C62258 Master Volume
84D4A26D Music Volume
1E0EEB55 SFX Volume
B92E6B67 Bubble gum
D6569A52 Soap bar
FF277F8A Sticky boots
DA82A36C Plungers
9AD0813E Slippers
CDB894F9 Lamp shade
73C46EBE Black knight
0D5591E3 Flower pos
3FFC08DC Diving helmet
133D9101 Spring
9DF961C7 Lightning bolt
2F03BFDC Football helmet
7F54761C Umbrella
866C5887 Shovel
42453758 Memory Card Available
3B93C93F Vibration is on
704D04A9 Letter of scene
0B11B427 Room
96F9FAD8 IsSneaking
8F103F86 Map Item Recieved
42AA05B4 R001 Unlocked
834E83A5 S001 Unlocked
E395B9B9 F Piece Collected
7D82D53F L Piece Collected
ED0ADD0A W Piece Collected
1F438A78 E Piece Collected
969F2BF6 C Piece Collected
A7E7E8FA G Piece Collected
8ECB9243 P Piece Collected
D24CFCB5 B Piece Collected
DBC22006 S Piece Collected
308C477C I Piece Collected
176FF0C5 R Piece Collected
CA796302 O Piece Collected
6C3A183B H Piece Collected
3AF41E68 F001 Unlocked
FA4FA077 E001 Unlocked
2B4BE9E8 Monster Token 1
2B4BE9E9 Monster Token 2
2B4BE9EA Monster Token 3
2B4BE9EB Monster Token 4
2B4BE9EC Monster Token 5
2B4BE9ED Monster Token 6
2B4BE9EE Monster Token 7
2B4BE9EF Monster Token 8
2B4BE9F0 Monster Token 9
27D8B1E8 Monster Token 10
27D8B1E9 Monster Token 11
27D8B1EA Monster Token 12
27D8B1EB Monster Token 13
27D8B1EC Monster Token 14
27D8B1ED Monster Token 15
27D8B1EE Monster Token 16
27D8B1EF Monster Token 17
27D8B1F0 Monster Token 18
27D8B1F1 Monster Token 19
27D8B26B Monster Token 20
27D8B26C Monster Token 21
BE42FA2A Warp Point B4
BE42FAAD Warp Point C4
BE42FBB3 Warp Point E4
BE42FBB5 Warp Point E6
BE42FBB8 Warp Point E9
BE42FC35 Warp Point F3
BE42FC39 Warp Point F7
5C470E49 Warp Point F10
BE42FCB6 Warp Point G1
BE42FCBA Warp Point G5
BE42FCBD Warp Point G8
BE42FD39 Warp Point H1
BE42FDBE Warp Point I3
BE42FDC1 Warp Point I6
5C48A083 Warp Point L14
5C48A084 Warp Point L15
5C48A087 Warp Point L18
BE4300D1 Warp Point O4
BE4300D3 Warp Point O6
BE430153 Warp Point P3
BE430155 Warp Point P5
BE430259 Warp Point R3
BE4302DC Warp Point S3
5C4B8267 Warp Point W22
5C4B826B Warp Point W26
CB345787 Lightning bolt stun
A936CE02 Defeated Mastermind
BE42FD3B Warp Point H3
09B72C09 AllSnacksBonus open
EC766001 Cinematic 1 Unlocked
C04D0164 Cinematic 2 Unlocked
9423A2C7 Cinematic 3 Unlocked
67FA442A Cinematic 4 Unlocked
3BD0E58D Cinematic 5 Unlocked
0FA786F0 Cinematic 6 Unlocked
E37E2853 Cinematic 7 Unlocked
B754C9B6 Cinematic 8 Unlocked
8B2B6B19 Cinematic 9 Unlocked
999E13F5 Cinematic 10 Unlocked
6D74B558 Cinematic 11 Unlocked
414B56BB Cinematic 12 Unlocked
1521F81E Cinematic 13 Unlocked
E8F89981 Cinematic 14 Unlocked

Battle for Bikini Bottom[edit]

Value Description
29600EB0 Sound mode
84D4A26D Music Volume
1E0EEB55 SFX Volume
42453758 Memory Card Available
3B93C93F Vibration is on
704D04A9 Letter of scene
0B11B427 Room
9653DA31 Current Level Collectable
18249056 Pat's Socks
D1FEEEE2 Total Pat's Socks
D6FCCFE7 Shiny Objects
C7E0F71C Golden Spatulas
9482683D Current Date
950F49B7 Current Hour
BD2884E7 Current Minute
4329EFFD Counter Value
A6956B3F Is Enabled (0=No, 1=Yes)
1E42996C Is Visible (0=No, 1=Yes)

The SpongeBob SquarePants Movie[edit]

Value Description
29600EB0 Sound mode
84D4A26D Music Volume
1E0EEB55 SFX Volume
42453758 Memory Card Available
3B93C93F Vibration is on
D1A7DE2C Subtitles are enabled
704D04A9 Letter of scene
0B11B427 Room
9482683D Current Date
950F49B7 Current Hour
BD2884E7 Current Minute
4329EFFD Counter Value
A6956B3F Is Enabled (0=No, 1=Yes)
1E42996C Is Visible (0=No, 1=Yes)
6897B48B Timer Seconds Left
F4FE2282 Timer Milliseconds Left
649FA12A Is MNUS?
0B9F22CF Demo Type
43DD1E00 Goofy Goober Tokens
D8A29291 Manliness Points
FE31C583 Level Treasure Chests
25CD9F4A Player Current Health
1F5BAA4D Is Reference NULL?
5B85F809 Always Portal

The Incredibles[edit]

Value Description
29600EB0 Sound mode
84D4A26D Music Volume
1E0EEB55 SFX Volume
42453758 Memory Card Available
3B93C93F Vibration is on
D1A7DE2C Subtitles are enabled
704D04A9 Letter of scene
0B11B427 Room
9482683D Current Date
950F49B7 Current Hour
BD2884E7 Current Minute
4329EFFD Counter Value
A6956B3F Is Enabled (0=No, 1=Yes)
1E42996C Is Visible (0=No, 1=Yes)
6897B48B Timer Seconds Left
F4FE2282 Timer Milliseconds Left
649FA12A Is MNUS?
0B9F22CF Demo Type
1F5BAA4D Is Reference NULL?
92D98D42 Hit Checkpoints
37672DA7 Total Checkpoints
FF9C67E9 Type of Pause Screen
B073B8AE User press Yes/Ok
5D9F1817 User press no
EC46B2A1 User press back
4698E733 Go Straight to Main Menu
677D048D Player Type
8B075E11 Is Signed In(0=No, 1=Yes)
E869B4AC Friend Request Received
851982A6 Game Invite Received
EC21645F Show English Videos

Rise of the Underminer[edit]

Value Description
29600EB0 Sound mode
84D4A26D Music Volume
1E0EEB55 SFX Volume
42453758 Memory Card Available
622827FB Vibration is on Player1
D1A7DE2C Subtitles are enabled
704D04A9 Letter of scene
0B11B427 Room
9482683D Current Date
950F49B7 Current Hour
BD2884E7 Current Minute
4329EFFD Counter Value
A6956B3F Is Enabled (0=No, 1=Yes)
1E42996C Is Visible (0=No, 1=Yes)
6897B48B Timer Seconds Left
F4FE2282 Timer Milliseconds Left
649FA12A Is MNUS?
0B9F22CF Demo Type
1F5BAA4D Is Reference NULL?
92D98D42 Hit Checkpoints
37672DA7 Total Checkpoints
FF9C67E9 Type of Pause Screen
B073B8AE User press Yes/Ok
5D9F1817 User press no
EC46B2A1 User press back
4698E733 Go Straight to Main Menu
677D048D Player Type
8B075E11 Is Signed In(0=No, 1=Yes)
E869B4AC Friend Request Received
851982A6 Game Invite Received
EC21645F Show English Videos
F3EDAAAA Is Scene Unlocked?
A307D09E Is Scene Completed?
9AAE2986 Show Hints?
24F7A6F0 Upgrade MrI Health
D0D53495 Upgrade MrI Nuke
C9679B8C Upgrade MrI Melee
44B017FA Upgrade MrI Throw
D17E5835 Upgrade MrI Slam
267BBD7D Upgrade Fro Health
7226B8FA Upgrade Fro Nuke
561E5B3B Upgrade Fro Melee
106EC5CE Upgrade Fro Freeze Ray
8E41C5CB Upgrade Fro Ice Glide
63F93285 Is One Player
9F57C7BA Is Mr I AI Helper
273B5B1B Is Frozone AI Helper
293FD7FB Is Helper Loose Follow
5FB4D5AD Is Helper Close Follow
BA0E1FAD Is Helper Guard
6E0A67CD Is PAL
622827FC Vibration is on Player2
4B520B7C Should Show Bonus Option
63A4F008 Is Language US
63A4F000 Is Language UK
63A4E747 Is Language DE
63A4EA64 Is Language JP
63A4EAE9 Is Language KR
63A4EE81 Is Language RU
63A4E7D8 Is Language ES
63A4E9E5 Is Language IT
63A4E85A Is Language FR

Operations[edit]

  • EQUAL_TO = 0,
  • GREATER_THAN = 1
  • LESS_THAN = 2
  • GREATER_THAN_OR_EQUAL_TO = 3
  • LESS_THAN_OR_EQUAL_TO = 4
  • NOT_EQUAL_TO = 5