I was trying to modify the system region auto switch of memory/storage card from 2 item to 3 items with following code
if,var,var17,,=,0
jumpregion,2,0
storevar,var17=1
else
if,var,var17,,=,1
jumpregion,2,100
storevar,var17=2
else
jumpregion,2,200
storevar,var17=0
endif
endif
As you can see, I nested an if in the else of outer if for that but with this construct the 'jumpregion,2,0' was not executing successfully and was behaving strange. I suspect only this one line was executing successfully because the rotation cycle was successful from page 100 to 200 to [blank] to 100 and so on (means var17 was getting values 0 1 and 2 repetatively).
Am I missing some point here?
Though I have acheived the 3 step rotation with ...
if,region,2,0
jumpregion,2,100
else
if,region,2,100
jumpregion,2,200
else
jumpregion,2,0
endif
endif
but what is the mistake in first if else construct?