Jump to content

FE7 - Chapter doesn't load


42_
 Share

Recommended Posts

EDIT: This issue has been resolved.

------------------------------------------------------------------------------------

For some reason, one of my chapters is just unable to load properly after replacing its map.

Error:

On chapter load, the map seems to load, but the screen remains dark. None of the chapter events load at all. After a few seconds, the game treats the chapter as completed and prompts me to save the game.

Details:

- This is a FE7 hack.

- This chapter replaces "Chapter 6: Blood of Pride."

- This chapter was perfectly functional before changing the map.

- When replacing the map, I saved the new one at the old starting offset.

- The new map is a downsized version of the old one.

- I used Mappy/MAR inserter to get the map in the game. (old tech, I know, lol)

- I have disabled the tile changes via Nightmare chapter data module (troubleshooting).

- I have checked many times that the chapter map/map tiles/event pointers are all correct. (appropriate pointers tied to 0x23, 0x24, 0x25 in event reference table)

- The chapter events have not changed at all from the old map, aside from spawn coordinates.

- The opening event is literally just a map load followed by loading some units. (see below)

Chapter Event Code:

#define DISABLE_TUTORIALS

#include EAstdlib.event
#include "Definitions.txt"
#include "Macros.txt"
EventPointerTable(0x25,Pointers)
ORG 0xD80CA0
Pointers:
POIN Turn_events
POIN Character_events
POIN Location_events
POIN Misc_events
POIN BallistaData BallistaData
POIN Bad Bad Bad Bad
POIN Good Good Good Good
POIN Opening_event Ending_event
Bad:
UNIT 0x92 Warrior 0x00 Level(1,Enemy,False) [1,1] [1,1] [KillerAxe] [NOAI]
UNIT Empty
Good:
UNIT Marina Myrmidon_F 0x00 Level(1,Ally,False) [9,5] [9,4] [ironSword, Vulnerary] [NOAI]
UNIT Max Cavalier Marina Level(3,Ally,False) [9,5] [8,0] [slimSpear, IronSword, Vulnerary] [NOAI]
UNIT Mitch Knight Marina Level(4,Ally,False) [9,5] [7,1] [steelSpear] [NOAI]
UNIT Ty Nomad Marina Level(3,Ally,False) [9,5] [6,4] [steelBow, IronBow, Vulnerary] [NOAI]
UNIT Jaz Mercenary Marina Level(3,Ally,False) [9,5] [10,1] [steelSword, Elixir, Vulnerary] [NOAI]
UNIT Eric Priest Marina Level(6,Ally,False) [9,5] [8,3] [Heal, Barrier, Vulnerary] [NOAI]
UNIT Lucius Archer Marina Level(1,Ally,False) [9,5] [9,5] [ironBow] [NOAI]
UNIT Empty
NPCVillagers:
UNIT 0x17 Civilian_2 0x00 Level(4,NPC,False) [9,12] [7,5] [0x00] [0x03,0x03,0x09,0x20]
UNIT 0x18 Child_2_F 0x00 Level(1,NPC,False) [9,12] [8,4] [0x00] [0x03,0x03,0x09,0x20]
UNIT Empty
Turn_events:
Survive(Ending_event,13)
END_MAIN
Character_events:
END_MAIN
Location_events:
Chest(AxeReaver,3,5)
END_MAIN
Misc_events:
CauseGameOverIfLordDies
END_MAIN
BallistaData:
BLST
ALIGN 4
Opening_event:
LOMA 0x06 [0,0]
LOU1 Bad
ENUN
LOU1 Good
ENUN
LOU1 NPCVillagers
ENUN
ITGC Marina ManiKatti
ENDA
Ending_event:
MNCH 0x07
ENDA
MESSAGE Events end at offset currentOffset

I've been stuck on this for about 3 weeks now, so any help is greatly appreciated. :)

Edited by 42_
Link to comment
Share on other sites

Alright. I booted up my backup with the new map and old events and it worked fine. (Aside from units loading in the wrong spots)

I then saved the (loosely edited) events to a completely different offset (D80CA0 to FE0800) and I got the same problem.

After that, I saved the previous chapter's events to the FE0800 offset and it worked perfectly.

(tl;dr) Basically, my event code breaks the game. Do you see anything problematic with the code? (see spoiler in first post)

Thanks again. :)

Edited by 42_
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...