Skip to content

PC OPCODE CONVERT TO MOBILE OPCODE #229

@Madafak2-max

Description

@Madafak2-max

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions