Code: Select all
BlueTemplar:
But I still have a problem, I can't use your modification that call a macro after a load game, it did not work and I don't know what is the problem with my macro. Can you help me ? Here's what I have done :
It's a macro that load once when a new game begin, not at every launch of the game.
Macro 11: MACRO LANCEMENT ()
1: DRAW 999 100 TO 1 0 OF O O
2: DRAW 999 99 TO 1 0 OF 0 0
3: SET Z = 13056
4: SET V = 12
5: SET V = V * 256
6: SET T = T & 255
7: SET T = T | V
8: STOP
And the macro that is called :
Macro 12: MACRO T
1: IF LOC[RG] = 1 THEN 7
2: IF LOC[RG] = 2 THEN 4
3: STOP
4: DRAW 999 100 TO 0 0 OF 0 0
5: DRAW 999 99 TO 0 0 OF 0 0
6: STOP
7: DRAW 999 100 TO 1 0 OF 0 0
8: DRAW 999 99 TO 1 0 OF 0 0
9: STOP
This macro works when I load it in debug mode but is not called ... Where have I made a mistake ?
Also, just before you restore the game, check the value of Z using the debug function. Is Z still set to 13056?
What about after you restore the game? What is the value of Z at this point?