L_dungeon:
callfunc "QWS_Darray";
freeloop(1);
set .@menu$,"";
for(set .@i,0; .@i<35; set .@i,.@i+1) // Expected maximum is 35
set .@menu$,.@menu$+@Dmenulist$[.@i]+":";
freeloop(0);
set @DWMenu,select(.@menu$);
if (@Dmenuref[@DWMenu-1] == 57005) goto L_end; // 57005='dead' in hex
set @DwarpMenu, (@Dmenuref[@DWMenu-1]);
callfunc "QWS_DLarray";
next;
mes "[Warpra]";
mes "Please select where you want to go:";
freeloop(1);
set .@menu$,"";
for(set .@i,0; .@i<18; set .@i,.@i+1) // Expected maximum is 18
set .@menu$,.@menu$+@DWLmenulist$[.@i]+":";
freeloop(0);
set @DWLMenu,select(.@menu$);
if (@DWLmenuref[@DWLMenu-1] == 57005) goto L_end; // 57005='dead' in hex
set @Darrayref, @DWLmenuref[@DWLMenu-1];
set @warpprice, @pDprice[@Dmenuref[@DWMenu-1]]+(getd(@pDfee$[@Dmenuref[@DWMenu-1]])*(@DDepth[@Darrayref]));
if(Zeny<@warpprice) callsub L_Short_on_zeny,1;
set Zeny, Zeny-(@warpprice);
if ($QW_KPoint == 1) set RESRVPTS, RESRVPTS + (@warpprice/16);
warp @DGat$[@Darrayref],@DXcoords[@Darrayref],@DYcoords[@Darrayref];
close2;
set Zeny, Zeny+@pTprice[@Tmenuref[@DWMenu-1]];
end;
Even with the Dungeon depth is set to 0, it still shows a menu of choosing a dungeon.
Please help me remove the option of [Dungeon Level 1] and automatically warp at the entrance when choosing [Toy Factory Dungeon]. just like how the Town options work.
Question
Selerie
L_dungeon: callfunc "QWS_Darray"; freeloop(1); set .@menu$,""; for(set .@i,0; .@i<35; set .@i,.@i+1) // Expected maximum is 35 set .@menu$,.@menu$+@Dmenulist$[.@i]+":"; freeloop(0); set @DWMenu,select(.@menu$); if (@Dmenuref[@DWMenu-1] == 57005) goto L_end; // 57005='dead' in hex set @DwarpMenu, (@Dmenuref[@DWMenu-1]); callfunc "QWS_DLarray"; next; mes "[Warpra]"; mes "Please select where you want to go:"; freeloop(1); set .@menu$,""; for(set .@i,0; .@i<18; set .@i,.@i+1) // Expected maximum is 18 set .@menu$,.@menu$+@DWLmenulist$[.@i]+":"; freeloop(0); set @DWLMenu,select(.@menu$); if (@DWLmenuref[@DWLMenu-1] == 57005) goto L_end; // 57005='dead' in hex set @Darrayref, @DWLmenuref[@DWLMenu-1]; set @warpprice, @pDprice[@Dmenuref[@DWMenu-1]]+(getd(@pDfee$[@Dmenuref[@DWMenu-1]])*(@DDepth[@Darrayref])); if(Zeny<@warpprice) callsub L_Short_on_zeny,1; set Zeny, Zeny-(@warpprice); if ($QW_KPoint == 1) set RESRVPTS, RESRVPTS + (@warpprice/16); warp @DGat$[@Darrayref],@DXcoords[@Darrayref],@DYcoords[@Darrayref]; close2; set Zeny, Zeny+@pTprice[@Tmenuref[@DWMenu-1]]; end;
Even with the Dungeon depth is set to 0, it still shows a menu of choosing a dungeon.
for eg. [Unlocked Dungeons] --> [Toy Factory Dungeon] --> [Dungeon Level 1]
Please help me remove the option of [Dungeon Level 1] and automatically warp at the entrance when choosing [Toy Factory Dungeon]. just like how the Town options work.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.