Dynamic Gravity [JoshuaMK]
#3
Btw I wanted to go ahead and ask about logical ANDs and how to do them for controller based if statements, because in your tutorial you have the logical AND listed as:

and r11, r11, 0x0880 #Logical AND

This causes issues because you can't have the 0x0880 in the AND instruction. This is only possible with the AND Immediate instruction, andi.

So how would this be done? Would it be:

andi. r11, r11 0x0880

Or would it be:

and r11, r11, r?

I need to know this so I can do controller if statements in my codes.
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply


Messages In This Thread
Dynamic Gravity [JoshuaMK] - by JoshuaMK - 07-01-2019, 03:37 AM
RE: Dynamic Gravity - by Vega - 07-01-2019, 03:15 PM
RE: Dynamic Gravity - by JoshuaMK - 07-01-2019, 04:21 PM
RE: Dynamic Gravity - by Vega - 07-01-2019, 07:40 PM
RE: Dynamic Gravity - by JoshuaMK - 07-02-2019, 06:15 AM
RE: Dynamic Gravity - by Vega - 07-02-2019, 02:05 PM
RE: Dynamic Gravity - by JoshuaMK - 07-02-2019, 05:55 PM
RE: Dynamic Gravity - by Vega - 07-02-2019, 06:43 PM
RE: Dynamic Gravity - by JoshuaMK - 07-02-2019, 08:11 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)