Reply to Re: Whats wrong with beast.c?
If you don't have an account, just leave the password field blank.
: Im busy making a battlesys, remember?
: Now, BEAST.C is the ultimate file, its 3% done, the problem is, when you choice, you dont attack. I would kept this secret, but I cannot solve this puzzle, the first one who fixes it, may try my system before I release it. SCRIPT:
: BTW: Some parts of the script are not completed, so dont say: YOU DONT COMPLETED THE SCRIPT.
: I know for sure that dink will attack the beast, and then the game stops so I can alt+q back to windows
: SCRIPT:
: //Here it goes 04 01 2002 0206 dd mm yyyy tttt
: Void main(void)
: {
: int &creasu;
: //first lets check out the current sprite brain
: if (&eselect = 131)
: {
: //PILLBUG
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 101;
: sp_hitpoints(&current_sprite, 5);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 201;
: sp_hitpoints(&current_sprite, 7);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 301;
: sp_hitpoints(&current_sprite, 10);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 401;
: sp_hitpoints(&current_sprite, 13);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 501;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 601;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of pillbug level check
: }
: if (&eselect = 531)
: {
: //BONCA
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 102;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 202;
: sp_hitpoints(&current_sprite, 25);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 302;
: sp_hitpoints(&current_sprite, 40);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 402;
: sp_hitpoints(&current_sprite, 55);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 502;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 602;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of bonca level check
: }
: if (&eselect = 641)
: {
: //SLAYER
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 103;
: sp_hitpoints(&current_sprite, 25);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 203;
: sp_hitpoints(&current_sprite, 35);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 303;
: sp_hitpoints(&current_sprite, 45);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 403;
: sp_hitpoints(&current_sprite, 55);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 503;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 603;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of slayer level check
: }
: //Some simple monster id data
: begin:
: freeze(&current_sprite);
: sp_target(&current_sprite, 1);
: sp_speed(&current_sprite, 4);
: sp_timing(&current_sprite, 0);
: int &bws;
: int &checker;
: int &bob;
: &bws = &eselect;
: &bws - 1;
: sp_base_walk(&current_sprite, &bws);
: //End of simple data
: //The battle menu
: fightstart:
: choice_start();
: "Attack with current item"
: "Attack with magic"
: "Use healing potion"
: choice_end();
: if (&result = 1)
: {
: //DINK ATTACKS
: //Which weapon is used
: &checker = compare_weapon("item-b1");
: if (&checker = 1)
: {
: //DINK ATTACKS
: sp_seq(1, 106);
: sp_frame(1, 1);
: wait(250);
: sp_frame(1, 2);
: wait(250);
: sp_frame(1, 3);
: wait(250);
: sp_frame(1, 4);
: wait(250);
: sp_frame(1, 5);
: wait(250);
: sp_frame(1, 6);
: wait(250);
: &bob = create_sprite(155, 205, 0, 25, 6);
: sp_seq(1, 16);
: sp_speed(&bob, 5);
: sp_timing(&bob, 0);
: move_stop(&bob, 6, 510, 1);
: sp_nodraw(&bob, 1);
: sp_kill(&bob, 100);
: hurt(&current_sprite, &strength);
: say_stop("YOUR TURN", &current_sprite);
: goto fightstart;
: }
: if (&checker = 0)
: {
: //DINK ATTACKS
: move_stop(1, 6, 510, 1);
: sp_seq(1, 106);
: sp_frame(1, 1);
: wait(250);
: sp_frame(1, 2);
: wait(250);
: sp_frame(1, 3);
: wait(250);
: sp_frame(1, 4);
: wait(250);
: sp_frame(1, 5);
: wait(250);
: sp_frame(1, 6);
: wait(250);
: move_stop(1, 4, 150, 1);
: sp_dir(1, 6);
: sp_seq(1, 16);
: hurt(&current_sprite, &strength);
: say_stop("YOUR TURN", &current_sprite);
: goto fightstart;
: }
: }
: if (&result = 2)
: {
: &creasu = 201;
: sp_hitpoints(&current_sprite, 7);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&result = 3)
: {
: &creasu = 301;
: sp_hitpoints(&current_sprite, 10);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&result = 4)
: {
: &creasu = 401;
: sp_hitpoints(&current_sprite, 13);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: void die(void)
: {
: }
: Now, BEAST.C is the ultimate file, its 3% done, the problem is, when you choice, you dont attack. I would kept this secret, but I cannot solve this puzzle, the first one who fixes it, may try my system before I release it. SCRIPT:
: BTW: Some parts of the script are not completed, so dont say: YOU DONT COMPLETED THE SCRIPT.
: I know for sure that dink will attack the beast, and then the game stops so I can alt+q back to windows
: SCRIPT:
: //Here it goes 04 01 2002 0206 dd mm yyyy tttt
: Void main(void)
: {
: int &creasu;
: //first lets check out the current sprite brain
: if (&eselect = 131)
: {
: //PILLBUG
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 101;
: sp_hitpoints(&current_sprite, 5);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 201;
: sp_hitpoints(&current_sprite, 7);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 301;
: sp_hitpoints(&current_sprite, 10);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 401;
: sp_hitpoints(&current_sprite, 13);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 501;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 601;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of pillbug level check
: }
: if (&eselect = 531)
: {
: //BONCA
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 102;
: sp_hitpoints(&current_sprite, 15);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 202;
: sp_hitpoints(&current_sprite, 25);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 302;
: sp_hitpoints(&current_sprite, 40);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 402;
: sp_hitpoints(&current_sprite, 55);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 502;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 602;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of bonca level check
: }
: if (&eselect = 641)
: {
: //SLAYER
: //Lets check the level and then open the menu
: if (&lselect = 1)
: {
: &creasu = 103;
: sp_hitpoints(&current_sprite, 25);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&lselect = 2)
: {
: &creasu = 203;
: sp_hitpoints(&current_sprite, 35);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 3)
: {
: &creasu = 303;
: sp_hitpoints(&current_sprite, 45);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 4)
: {
: &creasu = 403;
: sp_hitpoints(&current_sprite, 55);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: if (&leselect = 5)
: {
: &creasu = 503;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&leselect = 6)
: {
: &creasu = 603;
: sp_hitpoints(&current_sprite, 70);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: //End of slayer level check
: }
: //Some simple monster id data
: begin:
: freeze(&current_sprite);
: sp_target(&current_sprite, 1);
: sp_speed(&current_sprite, 4);
: sp_timing(&current_sprite, 0);
: int &bws;
: int &checker;
: int &bob;
: &bws = &eselect;
: &bws - 1;
: sp_base_walk(&current_sprite, &bws);
: //End of simple data
: //The battle menu
: fightstart:
: choice_start();
: "Attack with current item"
: "Attack with magic"
: "Use healing potion"
: choice_end();
: if (&result = 1)
: {
: //DINK ATTACKS
: //Which weapon is used
: &checker = compare_weapon("item-b1");
: if (&checker = 1)
: {
: //DINK ATTACKS
: sp_seq(1, 106);
: sp_frame(1, 1);
: wait(250);
: sp_frame(1, 2);
: wait(250);
: sp_frame(1, 3);
: wait(250);
: sp_frame(1, 4);
: wait(250);
: sp_frame(1, 5);
: wait(250);
: sp_frame(1, 6);
: wait(250);
: &bob = create_sprite(155, 205, 0, 25, 6);
: sp_seq(1, 16);
: sp_speed(&bob, 5);
: sp_timing(&bob, 0);
: move_stop(&bob, 6, 510, 1);
: sp_nodraw(&bob, 1);
: sp_kill(&bob, 100);
: hurt(&current_sprite, &strength);
: say_stop("YOUR TURN", &current_sprite);
: goto fightstart;
: }
: if (&checker = 0)
: {
: //DINK ATTACKS
: move_stop(1, 6, 510, 1);
: sp_seq(1, 106);
: sp_frame(1, 1);
: wait(250);
: sp_frame(1, 2);
: wait(250);
: sp_frame(1, 3);
: wait(250);
: sp_frame(1, 4);
: wait(250);
: sp_frame(1, 5);
: wait(250);
: sp_frame(1, 6);
: wait(250);
: move_stop(1, 4, 150, 1);
: sp_dir(1, 6);
: sp_seq(1, 16);
: hurt(&current_sprite, &strength);
: say_stop("YOUR TURN", &current_sprite);
: goto fightstart;
: }
: }
: if (&result = 2)
: {
: &creasu = 201;
: sp_hitpoints(&current_sprite, 7);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&result = 3)
: {
: &creasu = 301;
: sp_hitpoints(&current_sprite, 10);
: say_stop("YOUR TURN", 1);
: goto begin;
: }
: if (&result = 4)
: {
: &creasu = 401;
: sp_hitpoints(&current_sprite, 13);
: say_stop("YOUR TURN",1 );
: goto begin;
: }
: void die(void)
: {
: }