RPGirl
|
event // autoevent
{
palettemorph(0,0,0,0,63); // sets the palette
setplayer(0); // lets you control entity #0 (the one you just spawned)
}
int boxpic;
void TextBox(string a, string b, string c)
{
int thx, thy; //x & y positions of textbox
boxpic = loadimage("textbox.pcx"); //textbox pic
thx=screenx/2-160;
thy=screeny-65;
unpress(0);
while(!b1)
{
UpdateControls();
Render();
TcopySprite(thx, thy-1, 320, 66, boxpic);
GotoXY(thx+6,thy+5);
PrintString(1,a);
GotoXY(thx+6,thy+24);
PrintString(1,b);
GotoXY(thx+6, thy+43);
PrintString(1,c);
ShowPage();
}
free(boxpic);
}
Que Sera Sera, Whatever will be, will be.-Doris Day, "The Man Who Knew Too Much"
Posted on 2001-07-06 21:14:11
|