Subotai
Active member
Hi,
Am I the only one that observed that the MoveRandom for monster doesn't work at all.
I'm using 4.5.6 with Metrovania module that come along with that script on script setting already in AI Behavior 1. I've tried too the Adventure 8dir script, doesn't work either.
Am I missing something ?
FYI : Script, for moving left or to movetowardplayer is functionnal.
Here's the original code for MoveRandom_8dir.asm
;;;; Choose out of 4 directions, UDLR.
TXA
STA tempA
JSR doGetRandomNumber
AND #%00000111
TAY
LDA DirectionTable,y
STA tempB
LDA FacingTable,y
STA tempC
StartMoving tempA, tempB, #$00
ChangeFacingDirection tempA, tempC
Am I the only one that observed that the MoveRandom for monster doesn't work at all.
I'm using 4.5.6 with Metrovania module that come along with that script on script setting already in AI Behavior 1. I've tried too the Adventure 8dir script, doesn't work either.
Am I missing something ?
FYI : Script, for moving left or to movetowardplayer is functionnal.
Here's the original code for MoveRandom_8dir.asm
;;;; Choose out of 4 directions, UDLR.
TXA
STA tempA
JSR doGetRandomNumber
AND #%00000111
TAY
LDA DirectionTable,y
STA tempB
LDA FacingTable,y
STA tempC
StartMoving tempA, tempB, #$00
ChangeFacingDirection tempA, tempC