0 Members and 1 Guest are viewing this topic.
Lbl TextUntil offset = offset + length of conversation{Conversation pointer + offset} -> CharOffset++If char>31 ;if character is alphanumeric or common symboloffset->tempcurX->temp2while {conversation + temp} - 32 ;while not a spacetemp++temp2+4->temp2 ;custom font all letters are 4px wideendif temp2 > 92 ;if word needs to be wrapped4->curXif next line availableset curY to next rowelsereset curYpause and wait for keypresserase previous textenddisplay character at curX, curY (with custom font routine)curX+4->curXdispgraphendend
Thanks guys!I'm thinking about having the run-away mechanic work with 100% success rate. You just risk getting hit an extra time by your enemy if the random factor "fails," but you'll always be able to escape battle. Thoughts on this?