split code in sections

This commit is contained in:
2026-05-01 18:48:12 +02:00
parent c78a2ff7a0
commit 425b83b1bb
8 changed files with 343 additions and 353 deletions

View File

@@ -0,0 +1,17 @@
const robot_initial_x = 1
const robot_initial_y = 1
const robot_initial_direction = game.direction_down
mov r1, robot_initial_x
mov r2, robot_initial_y
mov r5, robot_initial_direction
add r6, zr, ptr.state_robot
store_8 [r6], r1
add r6, r6, 1
store_8 [r6], r2
add r6, r6, 1
store_8 [r6], r5
mov r3, sprites.rotation_0
mov r4, sprites.robot
call drawing.draw_sprite_at_map_coord