Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- w = 6;
- h = 12;
- for(i=0;i<w;i=i+1)
- for(j=0;j<h;j=j+1)
- {
- tile[ i , j ] = 0;
- }
- if global.help == 0
- {
- mes = show_message_ext( 'Achievement Unlocked: Play the game without reading the help file.' , 'Read it Now' , '' , 'Continue' );
- if mes == 1
- {
- show_info();
- }
- global.help = 1;
- }
- unitsMax = 0;
- addUnits( sprSwordman , 'Swordman' , 32 , -1 , 5 , 2 , 1 );
- addUnits( sprBowman , 'Archer' , 32 , 48 , 3 , 1 , 2 );
- addUnits( sprFireMage , 'Fire Mage' , 32 , 64 , 3 , 0 , 3 );
- addUnits( sprAxeman , 'Axeman' , 32 , -1 , 3 , 3 , 1 );
- addUnits( sprSpearman, 'Spearman' , 38 , -1 , 4 , 2 , 1 );
- addUnits( sprArcher , 'Archer' , 32 , 48 , 3 , 1 , 2 );
- unitMax = 0;
- switch global.mission
- {
- case 0:
- name = "Krongar's Uprising";
- desc = "Our time is at hand. Destroy Lirna.";
- team[ 0 ] = 'Krongar';
- team[ 1 ] = 'Lirna';
- tile[ 2 , 0 ] = 2;
- tile[ 2 , 1 ] = 2;
- tile[ 2 , 2 ] = 2;
- tile[ 2 , 3 ] = 2;
- tile[ 2 , 8 ] = 2;
- tile[ 2 , 9 ] = 2;
- tile[ 2 , 10 ] = 2;
- tile[ 2 , 11 ] = 2;
- addUnit( 3 , 3 , 3 , 0 );
- addUnit( 3 , 3 , 7 , 0 );
- addUnit( 2 , 3 , 5 , 0 );
- addUnit( 0 , 1 , 3 , 1 );
- addUnit( 1 , 1 , 5 , 1 );
- addUnit( 1 , 0 , 4 , 1 );
- break;
- case 1:
- name = "Lirna's Counterattack";
- desc = "Wreak vengeance upon the traitors.";
- team[ 0 ] = 'Lirna';
- team[ 1 ]= 'Krongar';
- for(i=0;i<w;i=i+1)
- for(j=0;j<h;j=j+1)
- {
- tile[ i , j ] = 3;
- }
- addUnit( 0 , 2 , 2 , 0 );
- addUnit( 1 , 2 , 3 , 0 );
- addUnit( 0 , 2 , 4 , 0 );
- addUnit( 1 , 2 , 5 , 0 );
- addUnit( 0 , 2 , 6 , 0 );
- addUnit( 1 , 2 , 7 , 0 );
- addUnit( 0 , 2 , 8 , 0 );
- addUnit( 2 , 4 , 5 , 1 );
- addUnit( 3 , 4 , 4 , 1 );
- addUnit( 3 , 4 , 6 , 1 );
- break;
- case 2:
- name = "Ishtar's Ambush";
- desc = "Krongar's men have camped in your territory. Kill them.";
- team[ 0 ] = 'Ishtar';
- team[ 1 ] = 'Krongar';
- tile[ 2 , 0 ] = 1;
- tile[ 2 , 1 ] = 1;
- tile[ 2 , 2 ] = 1;
- tile[ 2 , 3 ] = 1;
- //tile[ 2 , 4 ] = 1;
- //tile[ 2 , 5 ] = 1;
- //tile[ 2 , 6 ] = 1;
- tile[ 4 , 1 ] = 2;
- tile[ 4 , 2 ] = 2;
- tile[ 4 , 3 ] = 2;
- tile[ 4 , 4 ] = 2;
- tile[ 4 , 5 ] = 2;
- tile[ 3 , 6 ] = 2;
- tile[ 1 , 1 ] = 2;
- tile[ 1 , 2 ] = 2;
- tile[ 1 , 3 ] = 2;
- tile[ 1 , 4 ] = 2;
- tile[ 1 , 5 ] = 2;
- tile[ 2 , 6 ] = 2;
- addUnit( 4 , 1 , 6 , 0 );
- addUnit( 5 , 3 , 7 , 0 );
- addUnit( 4 , 2 , 8 , 0 );
- addUnit( 3 , 3 , 1 , 1 );
- addUnit( 2 , 3 , 2 , 1 );
- //addUnit( 3 , 3 , 5 , 1 );
- break;
- case 3:
- name = "An Uneasy Alliance";
- desc = "Lirna and Ishtar unite against Krongar.";
- team[ 0 ] = 'Alliance';
- team[ 1 ] = 'Krongar';
- addUnit( 0 , 0 , 0 , 0 );
- addUnit( 0 , 0 , 1 , 1 );
- break;
- case 4:
- name = "Last Stand";
- desc = "The enemy draws near. For Krongar!";
- team[ 0 ] = 'Krongar';
- team[ 1 ] = 'Alliance';
- addUnit( 0 , 0 , 0 , 0 );
- addUnit( 3 , 4 , 0 , 1 );
- addUnit( 3 , 4 , 1 , 1 );
- addUnit( 3 , 4 , 2 , 1 );
- addUnit( 2 , 4 , 3 , 1 );
- }
- sx = -1;
- sy = -1;
- sprite_index = sprTile;
- image_speed = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement