OK, some more idea's i'm working with.
1)
Code:
//==========================================================
// FFC SCRIPT *TIMETWISTER*
// This will reset all Link data to zero
//==========================================================
ffc script timetwister{
void run(){
int i;
for (i = 1; i < 255; i ++) {
if (Link->Item[i] == true){
Link->Item[i] = false;
}
}
Link->HP = 16;
Link->MaxHP = 16;
Link->MP = 0;
Link->MaxMP = 0;
Game->Counter[CR_RUPEES] = 0;
Game->Counter[CR_BOMBS] = 0;
Game->Counter[CR_SBOMBS] = 0;
Game->Counter[CR_ARROWS] = 0;
Game->Counter[CR_KEYS] = 0;
}
}
..Pretty mean of me eh?
And 2)
...It occured to me that no one has been using the npc->weapon! Therefore I am uncertain if i'm going about it right. But it's pretty nifty for a mystery dungeon to have enemies with mystery weapons!!
....anyway,
Code:
ffc script giveweapons{
void run(){
int ouchie;
for (ouchy = 1; ouchy <= 10; ouchy ++){
uh_oh[ouchy] = Screen->LoadNPC(ouchy);
uh_oh[ouchy] = npc->Weapon(32 + ouchy);
}
}
}
*NOTE* This is incomplete and will likely crash ZC. (just a warning)
Also, the use of npc->weapons could be used (if it works) for ffc enemies, and ffc bosses. It's got some potential, and another version would be to use D0-D7 as the weapon values.
*EDIT*
Wow, I just had another awesome idea:
You can change a bosses weapon every xxx seconds!
Code:
ffc script multiballs!!!{
void run(){
int shift = 33
while(true){
if(Screen->LoadNPC(1) HP >= 1){
//give hime more weapons!!!
shift = 41
Waitframes(300);
}
if(Screen->LoadNPC(1) HP >= 1){
npc->Weapon = shift;
shift = 34;
Waitframes(300);
I just need to recheck the implementation fo npc->Weapon....anyone know it already?
Also I put int shift in for future a script, likely used with a void run( int) or some other stuff.
-Oh, and what key on the keyboard is l l ?? *this is not a joke...l comes out as L's in notepad...