{
draw_sprite(sprite_index,image_index,x,y)
d3d_set_projection_ortho(0,0,640,480,0)
draw_sprite_ext(spr_itemmenu,-1,16,410,1,1,0,c_white,1);
if (global.haveitem = 1)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
}
if (global.haveitem = 2)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
}
if (global.haveitem = 3)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
}
if (global.haveitem = 4)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item4,-1,218,440,1,1,0,c_white,1);
}
if (global.haveitem = 5)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item4,-1,218,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item5,-1,281,440,1,1,0,c_white,1);
}
d3d_set_projection_ortho(view_xview,view_yview,640,480,view_angle)
}
ㅋㅋ 아이템 구연완료ㅋ