brunongmacho   02-23-2015, 06:04 AM
#7
(02-23-2015, 01:12 AM)Snarg Wrote:
(02-22-2015, 10:50 PM)brunongmacho Wrote: ok then.. here's an idea/logic for that.. using case: and using random to pick what case of attack to use.. i think this would be a good random attacks for that.. Smile

Kind of like this, right?

Code:
Func Attack_Select ()
  $Attack_Type = Random (1, 4, 1)
    Select
      Case $Attack_Type = 1
        Attack1 ()
      Case $Attack_Type = 2
        Attack2 ()
      Case $Attack_Type = 3
        Attack3 ()
      Case $Attack_Type = 4
        Attack4 ()
     EndSelect
EndFunc

yep it would be like that.. and it would have like bottom to top, top to bottom, left to right, right to left.
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.