sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

PC OPCODE CONVERT TO MOBILE OPCODE #229

Closed Madafak2-max closed 1 year ago

Madafak2-max commented 1 year ago

Hi! I am new on using the sanny builder but i want to convert the TELEPORT CLICK on (cs.)to (csa.) but those opcode are for PC and I can't find an Opcode that perfectly fit to use on CP OPCODE what should I use to convert this PC opcode to CP opcode? ( Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@) 0A9F: 5@ = current_thread_pointer 5@ += 80 0A8E: 6@ = 5@ + 12 // int 0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@ 5@ 3@ 2@ 1@ 4@
if 86BD: not no_obstacles_between 1@ 2@ 3@ and 8@ 9@ 10@ solid 1 car 1 actor 0 object 1 particle 0 jf @TEST_248 jump @TEST_275 )

and this code what opcode should I replace this to be an MOBILE OPCODE:

00E1: player 0 pressed_key 17 0AB0: key_pressed 90

I HOPE YOU CAN HELP ME THANK YOU!