![]() |
err pokemon battle system code. - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: err pokemon battle system code. (/showthread.php?tid=1258) |
err pokemon battle system code. - arno321 - 05-09-2007 is this correct o_definer Code: global.identity=0; //SPRITE INDEX OF ENEMY o_battlecontrol Code: CURRENT_ENEMY=1; o_selector Code: width=0; o_attacker Code: pos=1; animation Code: instance_destroy(); Pokemoncontrol Code: T=1; Animator Code: if sprite_index=0 then visible=false; o_pkmnitemscontrol Code: T=1; Winbattle Code: sound_stop(snd_battle); o_itemscontrol Code: global.nointro=true; dunno if this is correct its from a friend who gave it to me Re: err pokemon battle system code. - Rezeyu - 05-09-2007 Correct for.. what? Is that C#? Re: err pokemon battle system code. - arno321 - 06-09-2007 my friend says its with C# or VB he doesnt know lol he just said he found it on website :roll: Re: err pokemon battle system code. - JohnY - 06-09-2007 It's not VB6. Re: err pokemon battle system code. - Dragoons Master - 07-09-2007 It's not VB nor C/C++/C#... Re: err pokemon battle system code. - Rezeyu - 07-09-2007 But it uses {}, I thought mostly C languages use those. Does Python use them? Re: err pokemon battle system code. - Dragoons Master - 07-09-2007 It looks a lot like C/C++ but look at this: Code: if variable_global_exists("nointro")==false or variable_global_get("nointro")==false It looks like someone tried to code C/C++ but wasn't that successful... Re: err pokemon battle system code. - Rezeyu - 07-09-2007 C# uses If-Then Re: err pokemon battle system code. - Dragoons Master - 07-09-2007 Hummm, MSC# does not use if-then... Re: err pokemon battle system code. - Rezeyu - 07-09-2007 http://www.softsteel.co.uk/tutorials/cS ... son10.html Has it as a command. =/ C# reminds me alot of VB.. since it has like Thing.Thing2 etc. Re: err pokemon battle system code. - Dragoons Master - 07-09-2007 C# ~= C++ ~= C That's what I think xD They are all almost the same. They all have the same syntax, but C# has a lot of reserved names that C++ does not have and C++ has a lot of reserver names that C does not have. |