If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Wizardry: The Return of Werdna - The Fourth Scenario (DOS)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Wizardry: The Return of Werdna - The Fourth Scenario

Developer: Sir-Tech
Publisher: Sir-Tech
Platform: DOS
Released in US: 1988


SourceIcon.png This game has uncompiled source code.


Wizardry: The Return of Werdna is one of the most difficult RPGs created of its time. It's so difficult that it's not included in compilations sometimes because it's that soul-crushingly difficult.

Uncompiled Source Code

Two tidbits for the Japanese text interpreter remain inside of the floppy disk. These can be found on both the Master and Scenario disk, though the locations listed below apply to the Master disk.

Beginning on Track 16, Sector 10:

( KanjiWindow, x+x+1, KWkanjiY );
       KanjiStr[1] := h;
       KanjiStr[2] := l;
       WStr( KanjiWindow, KanjiStr );
       Kmove( h, l, 1 );
     end;

end;

Procedure PlotCursor( p: integer; c: char );

begin

  GotoXY( KanjiWindow, p+p+1, KWcurY );
  Wchar( KanjiWindow, c );

end;

Procedure SetCurPos( p: integer );

begin

  IF CURPOS <> -1 THEN          { CURSOR IS ACTIVE NOW... }
     PlotCursor( CurPos, ' ' );

  CurPos := p;
  PLOTCURSOR(

Beginning on Track 17:

           begin
             SetCurPos( temp + 10 );
             KPRedraw;
           end

        else if temp > 9 then
           begin
             SetCurPos( temp - 10 );
             KPRedraw;
           end

        else
            SetCurPos( temp );
     end;

end;

BEGIN

   UNITREAD(4, KEYMAP[0], SIZEOF(KEYMAP),ZMAPLOC); { READIN KANA.KEYMAP INFO }

   fillchar(s,maxlen+1,chr(0));
   index:=0;
   HIRAKFLAG := TRUE;                   { HIRAKANA MODE FLAG IS TRUE }
   KANJIACTIVE := FALSE;