D
Divatox
Guest
I get it and Cactilio works to edit magics too? I just want to make scan more clear and after hp 99,999 still show us the HP, not in ????
and when i try to save this shows up :if (self.varDE != 0) {
return
}
if (self.varDD == 0) {
self.varDD = 1
target(200)
domoveid( 8 )
return
}
self.varDC += 1
if (rand() % 3 == 0) {
return
}
else if (self.varDC == 1) {
if (gfStolen != 204) {
if (rand() % 3 != 0) {
target(200)
choose(1, 2, 253)
}
else {
return
}
}
else {
target(204) <----------------- i changed from 201 to 204 (hit all pary)
domoveid(4)
}
}
else if (self.varDC == 2) {
if (gfStolen != 204) {
target(204)
domoveid(10)
}
else {
target(201)
domoveid(4)
}
}
else if (self.varDC == 3) {
if (gfStolen != 204) {
target(201)
choose(5, 6, 253)
}
else {
target(201)
domoveid(4)
}
}
else {
self.varDC = 0
target(201)
domoveid(0)
}

if (self.varDE != 0) {
return
}
self.varDD += 1
if (self.varDD == 4) {
if (self.varDF == 0) {
self.varDF = 1
target(201)
domoveid(6)
return
}
}
if (gfstolen != 204) {
if (self.hp < 5) {
if (rand() % 4 == 0) {
if (enemy.status == BLIND) {
targetadv(0, 201, 0, 3)
domoveid(5)
}
else {
target(201)
domoveid(6)
}
}
else {
target(201)
choose(0, 0, 2)
}
}
else {
target(201)
domoveid(0)
}
}
else if (self.varDC == 0) {
self.varDC = 1
target(204)
domoveid(4)
}
else if (enemy.status != 9) {
if (rand() % 3 == 0) {
target(204)
domoveid(4)
}
else {
target(204)
domoveid(3)
}
}
else {
target(204)
domoveid(3)
}
Im using this oneWell I think I may have found the root of the problem, it looks like if any if statement is > 255 bytes, the offset doesn't get patched correctly.
I'll see if I can find the old code somewhere to patch since the version I'm working on is a bit of a mess atm.
Edit: I've patched the issue and updated the link here
I'm not sure if it will fix the issue that is causing the problem but it does fix a very major issue - it completely screws the logic up but it doesn't show in the code because the decompiler ignores the offset.
To fix any file, you should be able to adjust the textbox to get the compile button and a compile + save should fix it.
It's possible but remember that you have a limited number of enemies available. Dummy is the only one that you can use in fact. And I don't think you can do that with Deling.It´s possible create new enemies? For example copy Abadon´s c0m103.dat renamed to c0m144.dat (a dummy) and change the enemy names, abilitys and AI (when works). I saw too inside Deling that you can save a photo from the enemy, maybe change the colors and import back to the new c0m144.dat?
Heaven: 690-693Anyone has the encounter codes to the both insland heaven and hell?