Having a problem where after reopening the app the i1-i5 values are all replaced with the user_cur_inv value. Cannot find why this is happening.
Link to the code: https://github.com/sleedham1991/FantasyTrader/blob/master/src/main.c
These constants are all keys, not values. Make them unique and the problem is solved.
See https://developer.pebble.com/docs/c/Foundation/Storage/#persist_write_int