1 include: ../imports.awa
3 public: entry_local_room_script:
4 ; move first item to player
6 rst FRST_DEBUG_PRINT_NUM, [rst_result]
7 rst FRST_DEBUG_PRINT_STR, -10
11 set [room_script_tid], -1
15 eproc: entry_local_room_script_unload
16 rst FRST_DEBUG_PRINT_STR, .msg_unloading
18 .msg_unloading: dz: "MESSAGE: unloading map script.\n"
19 endp: entry_local_room_script_unload
26 rst FRST_GET_RAND, 1, 5
27 ;rst FRST_DEBUG_PRINT_NUM, [rst_result]
28 ;rst FRST_DEBUG_PRINT_STR, -10
29 add [.px], [rst_result]
30 rst FRST_GET_RAND, 0, 12
31 ;rst FRST_DEBUG_PRINT_NUM, [rst_result]
32 ;rst FRST_DEBUG_PRINT_STR, -10
33 sub [.py], [rst_result]