if(i>=0){\r
mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, mv[id].dx, y);\r
for(z=1;z<=2;z++){\r
- if(mv[id].map->layerdata[z].data[i] && (mv[id].page->sw+mv[id].dxThresh)){\r
+ if(mv[id].map->layerdata[z].data[i] && mv->dy<mv->map->height){\r
sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, mv[id].dx, y, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2);\r
//mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, mv[id].dx, y);\r
}\r
if(i>=0){\r
mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, x, mv[id].dy);\r
for(z=1;z<=2;z++){\r
- if(mv[id].map->layerdata[z].data[i] && (mv[id].page->sh+mv[id].dyThresh)){\r
+ if(mv[id].map->layerdata[z].data[i] && mv->dx<mv->map->width){\r
sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, x, mv[id].dy, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2);\r
//mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, x, mv[id].dy);\r
}\r