![]() |
needed help for figuring out if
Hello! everyone i needed some help in IF statement. In Diegoisasewsome's tutorial he says that if always have a 0x1 and 0x0 parameters or if is always covered by goto statement. But when i decompile a in game script it have a if with 0x4 parameters after a compare variable statement and it is covered by call not goto. it is in this form :-
Quote:
|
IIRC, 0x0 represents false and any other value represents true. 0x1 is the most obvious (and most readable) but I believe any other value will do the same thing as long as it's not 0x0.
I'm pretty rusty though, so anybody feel free to correct me if I'm remembering this wrong. Edit: Nope, read NewDenverCity's post below! |
Uncommon is wrong, sorry
0 is less than, 1 is equal to, 2 is greater than, 3 is less than or equal to, 4 is greater than or equal to, 5 is not equal. Hope this helps! |
Quote:
|
| All times are GMT -8. The time now is 9:14 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.